diff options
-rw-r--r-- | usr.bin/msgs/msgs.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/msgs/msgs.c b/usr.bin/msgs/msgs.c index 1bc3712..033a767 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) { |