diff options
author | obrien <obrien@FreeBSD.org> | 2001-11-14 17:00:58 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-11-14 17:00:58 +0000 |
commit | baad1b4d27696fdb8c7c8ac265b1588d99ef2aad (patch) | |
tree | 62c288c55d59d2585d6c550a5501d6dadb063a28 /usr.sbin/newsyslog/newsyslog.c | |
parent | 1b1306776bf04fdfe45ba959c9e5dc34f57019cf (diff) | |
download | FreeBSD-src-baad1b4d27696fdb8c7c8ac265b1588d99ef2aad.zip FreeBSD-src-baad1b4d27696fdb8c7c8ac265b1588d99ef2aad.tar.gz |
Fix the type of the NULL arg to execl().
Diffstat (limited to 'usr.sbin/newsyslog/newsyslog.c')
-rw-r--r-- | usr.sbin/newsyslog/newsyslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c index 20033ce..3d7ff8a 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); } } |