From a4482d5ce1205d9a1bc2acbf91b7d2e71a424a4d Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 14 Nov 2001 17:00:58 +0000 Subject: [PATCH] Fix the type of the NULL arg to execl(). --- usr.sbin/newsyslog/newsyslog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c index 20033ceaa5ba..3d7ff8a900e0 100644 --- a/usr.sbin/newsyslog/newsyslog.c +++ b/usr.sbin/newsyslog/newsyslog.c @@ -751,7 +751,7 @@ bzcompress_log(char *log) if (pid < 0) err(1, "bzip2 fork"); else if (!pid) { - execl(_PATH_BZIP2, _PATH_BZIP2, "-f", tmp, 0); + execl(_PATH_BZIP2, _PATH_BZIP2, "-f", tmp, (char *)0); err(1, _PATH_BZIP2); } }