Module Name: src
Committed By: christos
Date: Sun Oct 21 01:10:22 UTC 2012
Modified Files:
src/usr.bin/mail: fio.c
Log Message:
consistently use warn
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/usr.bin/mail/fio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/mail/fio.c
diff -u src/usr.bin/mail/fio.c:1.35 src/usr.bin/mail/fio.c:1.36
--- src/usr.bin/mail/fio.c:1.35 Sun Apr 29 19:50:22 2012
+++ src/usr.bin/mail/fio.c Sat Oct 20 21:10:22 2012
@@ -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 @@ expand(const char *name)
if (name[1] != 0)
break;
if (prevfile[0] == 0) {
- (void)printf("No previous file\n");
+ warnx("No previous file");
return NULL;
}
return savestr(prevfile);