summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-07-07 22:20:50 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-07-07 22:20:50 +0000
commitdf1da01e0ef7919f39e89b224aeff02f04e21eaf (patch)
tree081eee0be16d9c9ead383103ec3138ccd62d6e65
parent0b1778905fdebb8463ec0814610ec846ba23f01b (diff)
Notes
-rw-r--r--usr.bin/msgs/msgs.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/msgs/msgs.c b/usr.bin/msgs/msgs.c
index 1bc3712c64b6..033a76754304 100644
--- a/usr.bin/msgs/msgs.c
+++ b/usr.bin/msgs/msgs.c
@@ -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) {