summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp/common/options.c
diff options
context:
space:
mode:
authorThomas Nordin <nordin@cvs.openbsd.org>2002-06-11 06:01:20 +0000
committerThomas Nordin <nordin@cvs.openbsd.org>2002-06-11 06:01:20 +0000
commit7dead3fdf5c5ae2dcd24076c6a84f113d5f1cd19 (patch)
treeec467638662f7b07a7eb38d83439c35b0f0f8f93 /usr.sbin/dhcp/common/options.c
parentfb895669d69e531596c6b2397db03d4016f12838 (diff)
Remove \n from warn(3). ok deraadt@
Diffstat (limited to 'usr.sbin/dhcp/common/options.c')
-rw-r--r--usr.sbin/dhcp/common/options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/dhcp/common/options.c b/usr.sbin/dhcp/common/options.c
index a07a0dc6656..e347da37203 100644
--- a/usr.sbin/dhcp/common/options.c
+++ b/usr.sbin/dhcp/common/options.c
@@ -481,7 +481,7 @@ char *pretty_print_option (code, data, len, emit_commas, emit_quotes)
/* Figure out the size of the data. */
for (i = 0; dhcp_options [code].format [i]; i++) {
if (!numhunk) {
- warn ("%s: Excess information in format string: %s\n",
+ warn ("%s: Excess information in format string: %s",
dhcp_options [code].name,
&(dhcp_options [code].format [i]));
break;
@@ -533,7 +533,7 @@ char *pretty_print_option (code, data, len, emit_commas, emit_quotes)
case 'e':
break;
default:
- warn ("%s: garbage in format string: %s\n",
+ warn ("%s: garbage in format string: %s",
dhcp_options [code].name,
&(dhcp_options [code].format [i]));
break;
@@ -558,7 +558,7 @@ char *pretty_print_option (code, data, len, emit_commas, emit_quotes)
numhunk = len / hunksize;
/* See if we got an exact number of hunks. */
if (numhunk > 0 && numhunk * hunksize < len)
- warn ("%s: %d extra bytes at end of array\n",
+ warn ("%s: %d extra bytes at end of array",
dhcp_options [code].name,
len - numhunk * hunksize);