mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix the type of the NULL arg to execl().
This commit is contained in:
parent
4271dfbcdd
commit
a4482d5ce1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue