Use a NULL instead of a zero to avoid a compiler warning about a missing sentinel.
This commit is contained in:
parent
eea2dc61a9
commit
347f22bec6
@ -821,7 +821,7 @@ aml_disassemble(struct ACPIsdt *rsdt, struct ACPIsdt *dsdp)
|
||||
close(STDOUT_FILENO);
|
||||
if (vflag == 0)
|
||||
close(STDERR_FILENO);
|
||||
execl("/usr/sbin/iasl", "iasl", "-d", tmpstr, 0);
|
||||
execl("/usr/sbin/iasl", "iasl", "-d", tmpstr, NULL);
|
||||
err(1, "exec");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user