summaryrefslogtreecommitdiffstats
path: root/bin/ps/lomac.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ps/lomac.c')
-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