summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-11 23:53:22 +0000
committerkris <kris@FreeBSD.org>2000-07-11 23:53:22 +0000
commitb8853980fc9428b3502ff2d6f2e537c5720a6a54 (patch)
tree58656fad18d009a3dcce66195c0d6fd9610e7b2e
parentd908f153d0c1a01bdb580b8029f8c40dc1263ff6 (diff)
downloadFreeBSD-src-b8853980fc9428b3502ff2d6f2e537c5720a6a54.zip
FreeBSD-src-b8853980fc9428b3502ff2d6f2e537c5720a6a54.tar.gz
Don't call err() without a format string.
-rw-r--r--libexec/revnetgroup/revnetgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/revnetgroup/revnetgroup.c b/libexec/revnetgroup/revnetgroup.c
index eccdada..347c517 100644
--- a/libexec/revnetgroup/revnetgroup.c
+++ b/libexec/revnetgroup/revnetgroup.c
@@ -114,7 +114,7 @@ main(argc, argv)
if (strcmp(netgroup, "-")) {
if ((fp = fopen(netgroup, "r")) == NULL) {
- err(1,netgroup);
+ err(1, "%s", netgroup);
}
} else {
fp = stdin;
OpenPOWER on IntegriCloud