diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-09-12 04:12:55 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-09-12 04:12:55 +0000 |
commit | 0cf780020b3f57b09a698b9765e28545e33ec069 (patch) | |
tree | bc71a9572dc2e5ccb9e0340204e8a06177ced433 /usr.bin/rs | |
parent | 4ce9e5126b2a7866026b751775921181dd268138 (diff) |
Kill extra newline in err()/warn().
Diffstat (limited to 'usr.bin/rs')
-rw-r--r-- | usr.bin/rs/rs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/rs/rs.c b/usr.bin/rs/rs.c index c0f760e51e9..04f5f7f1b2e 100644 --- a/usr.bin/rs/rs.c +++ b/usr.bin/rs/rs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rs.c,v 1.3 1996/06/26 05:38:47 deraadt Exp $ */ +/* $OpenBSD: rs.c,v 1.4 1997/09/12 04:12:54 millert Exp $ */ /*- * Copyright (c) 1993 @@ -50,6 +50,7 @@ static char sccsid[] = "@(#)rs.c 8.1 (Berkeley) 6/6/93"; */ #include <ctype.h> +#include <err.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -266,7 +267,8 @@ prepfile() else if (orows == 0 && ocols == 0) { /* decide rows and cols */ ocols = owidth / colw; if (ocols == 0) { - warnx("Display width %d is less than column width %d\n", owidth, colw); + warnx("Display width %d is less than column width %d", + owidth, colw); ocols = 1; } if (ocols > nelem) |