summaryrefslogtreecommitdiffstats
path: root/usr.sbin/chkgrp
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/chkgrp')
-rw-r--r--usr.sbin/chkgrp/chkgrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/chkgrp/chkgrp.c b/usr.sbin/chkgrp/chkgrp.c
index 2dd41a8..fa4b701 100644
--- a/usr.sbin/chkgrp/chkgrp.c
+++ b/usr.sbin/chkgrp/chkgrp.c
@@ -73,7 +73,7 @@ main(int argc, char *argv[])
/* open group file */
if ((gf = fopen(gfn, "r")) == NULL)
- err(EX_IOERR, "%s", gfn); /* XXX - is IO_ERR the correct exit code? */
+ err(EX_NOINPUT, "%s", gfn);
/* check line by line */
while (++n) {
OpenPOWER on IntegriCloud