From fcee96bdc1a8d64495e4e1351e52183a615537ed Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Tue, 11 Jul 2000 23:53:22 +0000 Subject: [PATCH] Don't call err() without a format string. --- libexec/revnetgroup/revnetgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/revnetgroup/revnetgroup.c b/libexec/revnetgroup/revnetgroup.c index eccdada23c58..347c517fcfb3 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;