Fix the type of the NULL arg to execl().

This commit is contained in:
David E. O'Brien 2001-11-14 17:00:58 +00:00
parent 4271dfbcdd
commit a4482d5ce1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86360

View File

@ -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);
}
}