From b8853980fc9428b3502ff2d6f2e537c5720a6a54 Mon Sep 17 00:00:00 2001 From: kris Date: Tue, 11 Jul 2000 23:53:22 +0000 Subject: Don't call err() without a format string. --- libexec/revnetgroup/revnetgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec') 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; -- cgit v1.1