Use a NULL instead of a zero to avoid a compiler warning about a missing sentinel.

This commit is contained in:
John Birrell 2007-11-18 03:45:55 +00:00
parent eea2dc61a9
commit 347f22bec6

View File

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