diff options
author | jb <jb@FreeBSD.org> | 2007-11-18 03:45:55 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2007-11-18 03:45:55 +0000 |
commit | aea6b64171553bcfb7e689d09a4b2078c4b1407e (patch) | |
tree | bafe42f4a118c56601cea393f5d8867efd7b1e4f /usr.sbin/acpi/acpidump/acpi.c | |
parent | 1168fa22a7982252ed690c1a868e62e3a59962b0 (diff) | |
download | FreeBSD-src-aea6b64171553bcfb7e689d09a4b2078c4b1407e.zip FreeBSD-src-aea6b64171553bcfb7e689d09a4b2078c4b1407e.tar.gz |
Use a NULL instead of a zero to avoid a compiler warning about a missing sentinel.
Diffstat (limited to 'usr.sbin/acpi/acpidump/acpi.c')
-rw-r--r-- | usr.sbin/acpi/acpidump/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/acpi/acpidump/acpi.c b/usr.sbin/acpi/acpidump/acpi.c index 7be007e..8e922aa 100644 --- a/usr.sbin/acpi/acpidump/acpi.c +++ b/usr.sbin/acpi/acpidump/acpi.c @@ -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"); } |