diff options
author | dillon <dillon@FreeBSD.org> | 2002-07-10 20:44:55 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2002-07-10 20:44:55 +0000 |
commit | 3adf63f81dde1ef0bfe13d1926aecb7453b2cfec (patch) | |
tree | 532d4c0413a4d4d483da0b70f7b88f1fad49506d /bin/ps | |
parent | d5291af616cd93f5d0f49512296098b8f3ed246b (diff) | |
download | FreeBSD-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.c | 2 |
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); } |