summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-05-31 08:26:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-05-31 08:26:20 +0000
commit300183e104bf22eb2796e67bca3767e48498813e (patch)
treed9203a4de66b10baee3f2c4fe8fd371ba0f752bb /usr.bin
parent3379ac2b1142fa272d97dc55e5a819cf47ebcde5 (diff)
warn instead of warnx; kleink
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/nm/nm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/nm/nm.c b/usr.bin/nm/nm.c
index 2cd5559707f..241fe96bafb 100644
--- a/usr.bin/nm/nm.c
+++ b/usr.bin/nm/nm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nm.c,v 1.5 1997/04/04 18:27:07 deraadt Exp $ */
+/* $OpenBSD: nm.c,v 1.6 1997/05/31 08:26:19 deraadt Exp $ */
/* $NetBSD: nm.c,v 1.7 1996/01/14 23:04:03 pk Exp $ */
/*
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)nm.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: nm.c,v 1.5 1997/04/04 18:27:07 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: nm.c,v 1.6 1997/05/31 08:26:19 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -155,7 +155,7 @@ process_file(fname)
char magic[SARMAG];
if (!(fp = fopen(fname, "r"))) {
- warnx("cannot read %s", fname);
+ warn("cannot read %s", fname);
return(1);
}