diff options
| author | jsm <jsm@NetBSD.org> | 2001-08-29 18:22:56 +0000 |
|---|---|---|
| committer | jsm <jsm@NetBSD.org> | 2001-08-29 18:22:56 +0000 |
| commit | d929aa8aeb97cb8e23dc2734f73bebfa1aced430 (patch) | |
| tree | b67c072a3e3f7aaaae9090f19173e3b760844430 | |
| parent | c50646a1f3c38d69c15bd7791997659861dfd8c9 (diff) | |
Ensure trailing newline is present on error and warning messages (lost
in previous conversion from <err.h> functions to ISO C ones).
| -rw-r--r-- | games/adventure/setup.c | 6 | ||||
| -rw-r--r-- | games/boggle/mkdict/mkdict.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/games/adventure/setup.c b/games/adventure/setup.c index 0d2a42d2419..2923a26d8b1 100644 --- a/games/adventure/setup.c +++ b/games/adventure/setup.c @@ -1,4 +1,4 @@ -/* $NetBSD: setup.c,v 1.8 2000/07/31 11:25:50 simonb Exp $ */ +/* $NetBSD: setup.c,v 1.9 2001/08/29 18:22:56 jsm Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -43,7 +43,7 @@ static char copyright[] = "@(#) Copyright (c) 1991, 1993\n\ #if 0 static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: setup.c,v 1.8 2000/07/31 11:25:50 simonb Exp $"; +static char rcsid[] = "$NetBSD: setup.c,v 1.9 2001/08/29 18:22:56 jsm Exp $"; #endif #endif /* not lint */ @@ -66,7 +66,7 @@ static char rcsid[] = "$NetBSD: setup.c,v 1.8 2000/07/31 11:25:50 simonb Exp $"; #include <stdlib.h> #include "hdr.h" /* SEED lives in there; keep them coordinated. */ -#define USAGE "Usage: setup file > data.c (file is typically glorkz)" +#define USAGE "Usage: setup file > data.c (file is typically glorkz)\n" #define YES 1 #define NO 0 diff --git a/games/boggle/mkdict/mkdict.c b/games/boggle/mkdict/mkdict.c index 3bcb89026e8..c47fbace28c 100644 --- a/games/boggle/mkdict/mkdict.c +++ b/games/boggle/mkdict/mkdict.c @@ -1,4 +1,4 @@ -/* $NetBSD: mkdict.c,v 1.7 2000/07/31 11:28:48 simonb Exp $ */ +/* $NetBSD: mkdict.c,v 1.8 2001/08/29 18:22:56 jsm Exp $ */ /*- * Copyright (c) 1993 @@ -44,7 +44,7 @@ static const char copyright[] = static char sccsid[] = "@(#)mkdict.c 8.1 (Berkeley) 6/11/93"; #else static const char rcsid[] = - "$NetBSD: mkdict.c,v 1.7 2000/07/31 11:28:48 simonb Exp $"; + "$NetBSD: mkdict.c,v 1.8 2001/08/29 18:22:56 jsm Exp $"; #endif #endif /* not lint */ @@ -82,7 +82,7 @@ main(argc, argv) for (nwords = 1; fgets(buf[current], MAXWORDLEN + 1, stdin) != NULL; ++nwords) { if ((p = strchr(buf[current], '\n')) == NULL) { - fprintf(stderr, "word too long: %s", buf[current]); + fprintf(stderr, "word too long: %s\n", buf[current]); while ((ch = getc(stdin)) != EOF && ch != '\n') ; if (ch == EOF) |
