diff options
author | jb <jb@FreeBSD.org> | 2007-11-18 09:13:08 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2007-11-18 09:13:08 +0000 |
commit | 93e35cf0e332b416ee02163ec0c2ba4ce88f905d (patch) | |
tree | f9e158e19b9f6c594e3c607ea99b4a4c1e2bb40b /usr.sbin | |
parent | c5d6580fd4b8e519f78c87346bdba7fc4637452b (diff) | |
download | FreeBSD-src-93e35cf0e332b416ee02163ec0c2ba4ce88f905d.zip FreeBSD-src-93e35cf0e332b416ee02163ec0c2ba4ce88f905d.tar.gz |
Use an explicit pointer cast since NULL isn't guaranteed to be defined
as a pointer type.
Submitted by: Christoph Mallon - christoph mallon at gmx de
Diffstat (limited to 'usr.sbin')
-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 8e922aa..fed0fb2 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, NULL); + execl("/usr/sbin/iasl", "iasl", "-d", tmpstr, (char *) 0); err(1, "exec"); } |