X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/12ed8a1f566d8c2020b988462db74435c716088a..65802cb13c3ad5a26e4cf660dc5ebde42962aa89:/pixie.c diff --git a/pixie.c b/pixie.c index beac67c..b7083f3 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); } @@ -1120,8 +1120,8 @@ static void usage(FILE *fp) { pquis(fp, "\ Usage:\n\ - $ [-qvfidl] [-c command] [-t timeout] [-s socket]\n\ - $ [-s socket] -C [command args...]\n\ + $ [-qvfidl] [-c COMMAND] [-t TIMEOUT] [-s SOCKET]\n\ + $ [-s SOCKET] -C [COMMAND ARGS...]\n\ "); }