summaryrefslogtreecommitdiffstats
path: root/bin/ps
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2002-07-10 20:44:55 +0000
committerdillon <dillon@FreeBSD.org>2002-07-10 20:44:55 +0000
commit3adf63f81dde1ef0bfe13d1926aecb7453b2cfec (patch)
tree532d4c0413a4d4d483da0b70f7b88f1fad49506d /bin/ps
parentd5291af616cd93f5d0f49512296098b8f3ed246b (diff)
downloadFreeBSD-src-3adf63f81dde1ef0bfe13d1926aecb7453b2cfec.zip
FreeBSD-src-3adf63f81dde1ef0bfe13d1926aecb7453b2cfec.tar.gz
err() is documented as allowing NULL for the format string but GCC isn't
happy about it any more so change the usage to make buildworld work again.
Diffstat (limited to 'bin/ps')
-rw-r--r--bin/ps/lomac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ps/lomac.c b/bin/ps/lomac.c
index f651955..ec05d1a 100644
--- a/bin/ps/lomac.c
+++ b/bin/ps/lomac.c
@@ -113,6 +113,6 @@ get_lattr(int pid)
if (devlomac == -1)
lomac_start();
if (ioctl(devlomac, LIOGETPLEVEL, &pid) == -1)
- err(1, NULL);
+ err(1, "ioctl");
return (pid);
}
OpenPOWER on IntegriCloud