summaryrefslogtreecommitdiffstats
path: root/usr.sbin/chkgrp/chkgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/chkgrp/chkgrp.c')
-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 1389d42..7d1af60 100644
--- a/usr.sbin/chkgrp/chkgrp.c
+++ b/usr.sbin/chkgrp/chkgrp.c
@@ -67,7 +67,7 @@ main(int argc, char *argv[])
/* open group file */
if ((gf = fopen(gfn, "r")) == NULL)
- err(EX_IOERR, gfn); /* XXX - is IO_ERR the correct exit code? */
+ err(EX_IOERR, "%s", gfn); /* XXX - is IO_ERR the correct exit code? */
/* check line by line */
while (++n) {
OpenPOWER on IntegriCloud