Don't call err() without a format string.
This commit is contained in:
parent
e137bceb8f
commit
fcee96bdc1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62983
@ -114,7 +114,7 @@ main(argc, argv)
|
|||||||
|
|
||||||
if (strcmp(netgroup, "-")) {
|
if (strcmp(netgroup, "-")) {
|
||||||
if ((fp = fopen(netgroup, "r")) == NULL) {
|
if ((fp = fopen(netgroup, "r")) == NULL) {
|
||||||
err(1,netgroup);
|
err(1, "%s", netgroup);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fp = stdin;
|
fp = stdin;
|
||||||
|
Loading…
Reference in New Issue
Block a user