diff options
Diffstat (limited to 'usr.bin/xstr')
-rw-r--r-- | usr.bin/xstr/xstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/xstr/xstr.c b/usr.bin/xstr/xstr.c index 6195ff2..7ea8783 100644 --- a/usr.bin/xstr/xstr.c +++ b/usr.bin/xstr/xstr.c @@ -375,7 +375,7 @@ flushsh(void) return; mesgwrit = fopen(strings, old ? "r+" : "w"); if (mesgwrit == NULL) - perror(strings), exit(4); + err(4, "%s", strings); for (i = 0; i < BUCKETS; i++) for (hp = bucket[i].hnext; hp != NULL; hp = hp->hnext) { found(hp->hnew, hp->hpt, hp->hstr); |