summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaredy <jaredy@openbsd.org>2004-10-27 18:16:57 +0000
committerjaredy <jaredy@openbsd.org>2004-10-27 18:16:57 +0000
commitca8e7c815aa334a441e5242ec6d6295747a278c0 (patch)
tree595c72194a61116be3dd3aa0b58ccd1d88d71175
parentoops! one line wrong (diff)
downloadwireguard-openbsd-ca8e7c815aa334a441e5242ec6d6295747a278c0.tar.xz
wireguard-openbsd-ca8e7c815aa334a441e5242ec6d6295747a278c0.zip
remove newlines in errx, syslog. ok henning, hshoexer, millert
-rw-r--r--usr.bin/usbhidaction/usbhidaction.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/usbhidaction/usbhidaction.c b/usr.bin/usbhidaction/usbhidaction.c
index 69d4e89b05d..d5d5a89abf8 100644
--- a/usr.bin/usbhidaction/usbhidaction.c
+++ b/usr.bin/usbhidaction/usbhidaction.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbhidaction.c,v 1.5 2004/09/14 22:59:26 deraadt Exp $ */
+/* $OpenBSD: usbhidaction.c,v 1.6 2004/10/27 18:16:57 jaredy Exp $ */
/* $NetBSD: usbhidaction.c,v 1.7 2002/01/18 14:38:59 augustss Exp $ */
/*
@@ -261,7 +261,7 @@ parse_conf(const char *conf, report_desc_t repd, int reportid, int ignore)
freecommands(cmds);
return (NULL);
} else {
- errx(1, "config file `%s', line %d,"
+ errx(1, "config file `%s', line %d"
", syntax error: %s", conf, line, buf);
}
}
@@ -281,13 +281,13 @@ parse_conf(const char *conf, report_desc_t repd, int reportid, int ignore)
if (isdemon) {
syslog(LOG_WARNING,
"config file `%s', line %d, "
- "bad value: %s\n",
+ "bad value: %s",
conf, line, value);
freecommands(cmds);
return (NULL);
} else {
errx(1, "config file `%s', line %d, "
- "bad value: %s\n",
+ "bad value: %s",
conf, line, value);
}
}
@@ -354,12 +354,12 @@ parse_conf(const char *conf, report_desc_t repd, int reportid, int ignore)
}
if (isdemon) {
syslog(LOG_WARNING, "config file `%s', line %d, HID "
- "item not found: `%s'\n", conf, line, name);
+ "item not found: `%s'", conf, line, name);
freecommands(cmds);
return (NULL);
} else {
errx(1, "config file `%s', line %d, HID item "
- "not found: `%s'\n", conf, line, name);
+ "not found: `%s'", conf, line, name);
}
foundhid: