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 | e340c0bc1403b003dd50c47495ccd20e821329c7 (patch) | |
tree | d6fd90f8888ca8785dc3973dc213d924d4e2b42c /boggle | |
parent | a40a66b71ad99dcb5d8dd2606c6b637c2f49c775 (diff) | |
download | bsdgames-darwin-e340c0bc1403b003dd50c47495ccd20e821329c7.tar.gz bsdgames-darwin-e340c0bc1403b003dd50c47495ccd20e821329c7.tar.zst bsdgames-darwin-e340c0bc1403b003dd50c47495ccd20e821329c7.zip |
Ensure trailing newline is present on error and warning messages (lost
in previous conversion from <err.h> functions to ISO C ones).
Diffstat (limited to 'boggle')
-rw-r--r-- | boggle/mkdict/mkdict.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boggle/mkdict/mkdict.c b/boggle/mkdict/mkdict.c index 3bcb8902..c47fbace 100644 --- a/boggle/mkdict/mkdict.c +++ b/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) |