aboutsummaryrefslogtreecommitdiff
path: root/src/clef
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-06-16 01:27:47 +0000
committerdos-reis <gdr@axiomatics.org>2011-06-16 01:27:47 +0000
commit3d059f356a2add0e713b2dc3f3a5f253572e7892 (patch)
tree8a4d0bb9403ea620ac65a3b6a7ae4d3281c9fb35 /src/clef
parent225a032452ab68d3a227bf5cc5769553a9a09fa1 (diff)
downloadopen-axiom-3d059f356a2add0e713b2dc3f3a5f253572e7892.tar.gz
explicitly cast NULL to appropriate pointer type when used as sentinel
Diffstat (limited to 'src/clef')
-rw-r--r--src/clef/edible.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clef/edible.c b/src/clef/edible.c
index f4116f3d..dd07181b 100644
--- a/src/clef/edible.c
+++ b/src/clef/edible.c
@@ -231,7 +231,7 @@ main(int argc, char *argv[])
program = strdup("/bin/sh");
else
program = strdup (program);
- execlp( program,program, (char *) 0);
+ execlp( program,program, (char *) NULL);
perror("clef trying to execlp the default child");
fprintf(stderr, "Process --> %s\n", program);
}