mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-19 08:13:57 +00:00
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";
|
static char sccsid[] = "@(#)msgs.c 8.2 (Berkeley) 4/28/95";
|
||||||
#endif
|
#endif
|
||||||
static const char rcsid[] =
|
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 */
|
#endif /* not lint */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -246,10 +246,7 @@ int argc; char *argv[];
|
||||||
*/
|
*/
|
||||||
snprintf(fname, sizeof(fname), "%s/%s", _PATH_MSGS, BOUNDS);
|
snprintf(fname, sizeof(fname), "%s/%s", _PATH_MSGS, BOUNDS);
|
||||||
if (stat(fname, &buf) < 0)
|
if (stat(fname, &buf) < 0)
|
||||||
{
|
err(errno, "%s", fname);
|
||||||
perror(fname);
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
bounds = fopen(fname, "r");
|
bounds = fopen(fname, "r");
|
||||||
|
|
||||||
if (bounds != NULL) {
|
if (bounds != NULL) {
|
||||||
|
|
Loading…
Reference in a new issue