aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-11-07 19:59:43 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-11-07 19:59:43 +0100
commit7dc24010d2332b5f639892db602a387bc6616277 (patch)
treea7e4da21bb77981079b04b235be7c9dba19498b6 /src/main.c
parentad30df62f8bdf32d503df14d0e28c7df597ba306 (diff)
Prefer nullptr to NULL
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 5f06910..2fe80fe 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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