mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 04:43:32 +00:00
Use err() instead of perror(), exit().
This commit is contained in:
parent
db8714af52
commit
d88ccf5dca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132182
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user