summaryrefslogtreecommitdiffstats
path: root/fortune
diff options
context:
space:
mode:
authorgrant <grant@NetBSD.org>2002-07-20 08:36:17 +0000
committergrant <grant@NetBSD.org>2002-07-20 08:36:17 +0000
commita37449a45f86b92f813b114677d604c56618ec53 (patch)
tree3dfb17649f4d3f63528dcc8867be331a96d8f721 /fortune
parentaa61a4f455c84878283e9e13706a3b952af2537d (diff)
downloadbsdgames-darwin-a37449a45f86b92f813b114677d604c56618ec53.tar.gz
bsdgames-darwin-a37449a45f86b92f813b114677d604c56618ec53.tar.zst
bsdgames-darwin-a37449a45f86b92f813b114677d604c56618ec53.zip
sweep of errx/warnx, remove unnecessary trailing \n
Diffstat (limited to 'fortune')
-rw-r--r--fortune/fortune/fortune.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fortune/fortune/fortune.c b/fortune/fortune/fortune.c
index 85935c1c..b65f78cd 100644
--- a/fortune/fortune/fortune.c
+++ b/fortune/fortune/fortune.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fortune.c,v 1.36 2002/07/01 20:55:30 itojun Exp $ */
+/* $NetBSD: fortune.c,v 1.37 2002/07/20 08:36:23 grant Exp $ */
/*-
* Copyright (c) 1986, 1993
@@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1986, 1993\n\
#if 0
static char sccsid[] = "@(#)fortune.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: fortune.c,v 1.36 2002/07/01 20:55:30 itojun Exp $");
+__RCSID("$NetBSD: fortune.c,v 1.37 2002/07/20 08:36:23 grant Exp $");
#endif
#endif /* not lint */
@@ -760,7 +760,7 @@ add_dir(fp)
free(name);
}
if (fp->num_children == 0) {
- warnx("`%s': No fortune files in directory.\n", fp->path);
+ warnx("`%s': No fortune files in directory.", fp->path);
return FALSE;
}
return TRUE;