diff options
author | Jared Yanovich <jaredy@cvs.openbsd.org> | 2004-10-27 18:16:58 +0000 |
---|---|---|
committer | Jared Yanovich <jaredy@cvs.openbsd.org> | 2004-10-27 18:16:58 +0000 |
commit | 9488bc103e7513718c18b3b1fef43ffa32d2c9b0 (patch) | |
tree | 59e4eededf60c155e2d668e3f5a7b75607f6ce2e /usr.bin/usbhidaction/usbhidaction.c | |
parent | 5e1542a50163462a805aa8d8d8d3b852a45018a7 (diff) |
remove newlines in errx, syslog. ok henning, hshoexer, millert
Diffstat (limited to 'usr.bin/usbhidaction/usbhidaction.c')
-rw-r--r-- | usr.bin/usbhidaction/usbhidaction.c | 12 |
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: |