Previous fix didn't make it past the Bruce filter. Clean up
non-KNF indentation and use err() properly.
This commit is contained in:
parent
0b1778905f
commit
df1da01e0e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37478
@ -42,7 +42,7 @@ static const char copyright[] =
|
||||
static char sccsid[] = "@(#)msgs.c 8.2 (Berkeley) 4/28/95";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id: msgs.c,v 1.9 1997/07/29 06:47:18 charnier Exp $";
|
||||
"$Id: msgs.c,v 1.10 1998/07/07 12:02:59 jkh Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
@ -246,10 +246,7 @@ int argc; char *argv[];
|
||||
*/
|
||||
snprintf(fname, sizeof(fname), "%s/%s", _PATH_MSGS, BOUNDS);
|
||||
if (stat(fname, &buf) < 0)
|
||||
{
|
||||
perror(fname);
|
||||
exit(1);
|
||||
}
|
||||
err(errno, "%s", fname);
|
||||
bounds = fopen(fname, "r");
|
||||
|
||||
if (bounds != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user