summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-05-31 08:26:19 +0000
committerderaadt <deraadt@openbsd.org>1997-05-31 08:26:19 +0000
commit918be88687e93214cf5035f4c5404d2feb9c32a7 (patch)
tree4baaf93e4eaf7ef791d5e210da8dbea7f0fc93a4
parentfutimes avoids race; mycroft (diff)
downloadwireguard-openbsd-918be88687e93214cf5035f4c5404d2feb9c32a7.tar.xz
wireguard-openbsd-918be88687e93214cf5035f4c5404d2feb9c32a7.zip
warn instead of warnx; kleink
-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);
}