Don't call err() without a format string.

This commit is contained in:
Kris Kennaway 2000-07-11 23:53:22 +00:00
parent e137bceb8f
commit fcee96bdc1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62983

View File

@ -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;