diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-11-07 19:59:43 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-11-07 19:59:43 +0100 |
commit | 7dc24010d2332b5f639892db602a387bc6616277 (patch) | |
tree | a7e4da21bb77981079b04b235be7c9dba19498b6 /src/main.c | |
parent | ad30df62f8bdf32d503df14d0e28c7df597ba306 (diff) |
Prefer nullptr to NULL
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,10 +47,10 @@ main(int argc, char **argv) /* TODO: Can we test this in an OpenBSD VM? */ #if 0 && defined(__OpenBSD__) #if GIT_GRAB - if (pledge("stdio rpath prot exec", NULL) == -1) + if (pledge("stdio rpath prot exec", nullptr) == -1) cerr(EXIT_FATAL, "pledge:"); #else - if (pledge("stdio rpath", NULL) == -1) + if (pledge("stdio rpath", nullptr) == -1) cerr(EXIT_FATAL, "pledge:"); #endif #endif |