mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 08:33:24 +00:00
Fix the type of the NULL arg to execl().
This commit is contained in:
parent
4271dfbcdd
commit
a4482d5ce1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86360
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user