Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/mail consistently use warn
details: https://anonhg.NetBSD.org/src/rev/4a5cd214059f
branches: trunk
changeset: 782210:4a5cd214059f
user: christos <christos%NetBSD.org@localhost>
date: Sun Oct 21 01:10:22 2012 +0000
description:
consistently use warn
diffstat:
usr.bin/mail/fio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d25eff3263fc -r 4a5cd214059f usr.bin/mail/fio.c
--- a/usr.bin/mail/fio.c Sat Oct 20 22:11:38 2012 +0000
+++ b/usr.bin/mail/fio.c Sun Oct 21 01:10:22 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fio.c,v 1.35 2012/04/29 23:50:22 christos Exp $ */
+/* $NetBSD: fio.c,v 1.36 2012/10/21 01:10:22 christos Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)fio.c 8.2 (Berkeley) 4/20/95";
#else
-__RCSID("$NetBSD: fio.c,v 1.35 2012/04/29 23:50:22 christos Exp $");
+__RCSID("$NetBSD: fio.c,v 1.36 2012/10/21 01:10:22 christos Exp $");
#endif
#endif /* not lint */
@@ -440,7 +440,7 @@
if (name[1] != 0)
break;
if (prevfile[0] == 0) {
- (void)printf("No previous file\n");
+ warnx("No previous file");
return NULL;
}
return savestr(prevfile);
Home |
Main Index |
Thread Index |
Old Index