From: mdw Date: Sat, 5 Mar 2005 16:47:54 +0000 (+0000) Subject: Style: fix cast in execl(3) call. X-Git-Tag: 2.1.1~97 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb/commitdiff_plain/113e872fcc360a03f4431eedc541b08a18b9dcb7?ds=sidebyside Style: fix cast in execl(3) call. --- diff --git a/pixie.c b/pixie.c index beac67c3..d0d5c203 100644 --- a/pixie.c +++ b/pixie.c @@ -385,7 +385,7 @@ static int p_request(const char *msg, const char *tag, char *buf, size_t sz) if (dup2(fd[1], STDOUT_FILENO) < 0) _exit(127); close(fd[0]); - execl("/bin/sh", "sh", "-c", d.buf, (void *)0); + execl("/bin/sh", "sh", "-c", d.buf, (char *)0); _exit(127); }