summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAntti-Juhani Kaijanaho <ajk@debian.org>2007-04-08 18:59:07 +0100
committerAntti-Juhani Kaijanaho <ajk@debian.org>2007-04-08 18:59:07 +0100
commita1b71a393ad94549be57b624c446f7b31ad1ae37 (patch)
treeaf0859a1fce1cd200a062c6c82b0de9e965a91e5 /lib
parent9ae611d0ac27ec7797c33bbb9699866ecaf30d56 (diff)
downloaddctrl-tools-a1b71a393ad94549be57b624c446f7b31ad1ae37.tar.gz
GNUmakefile. ifile.c: start using -Werror, fix one warning
Diffstat (limited to 'lib')
-rw-r--r--lib/ifile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ifile.c b/lib/ifile.c
index b44b708..da67919 100644
--- a/lib/ifile.c
+++ b/lib/ifile.c
@@ -50,7 +50,7 @@ static int open_pipe(char const * s)
}
close(ps[0]);
close(ps[1]);
- execl("/bin/sh", "/bin/sh", "-c", s, 0);
+ execl("/bin/sh", "/bin/sh", "-c", s, (char*)0);
fprintf(stderr, _("%s (child): failed to exec /bin/sh: %s\n"),
get_progname(), strerror(errno));
_exit(1);