diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-06-23 16:21:47 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-06-23 16:21:47 +0200 |
commit | 92b229c727e34164a88f59142054d4cdee510f4c (patch) | |
tree | 6216926d81f322b4bbb58fe3761295d188bbac6f /udevtrigger.c | |
parent | 3df3c93e2500b0dcf23989171d27c2b04d149407 (diff) |
no newline in log messages
Diffstat (limited to 'udevtrigger.c')
-rw-r--r-- | udevtrigger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udevtrigger.c b/udevtrigger.c index 7577c5f15f..3b5be2006e 100644 --- a/udevtrigger.c +++ b/udevtrigger.c @@ -118,12 +118,12 @@ static void trigger_uevent(const char *devpath) fd = open(filename, O_WRONLY); if (fd < 0) { - dbg("error on opening %s: %s\n", filename, strerror(errno)); + dbg("error on opening %s: %s", filename, strerror(errno)); return; } if (write(fd, "add", 3) < 0) - info("error on triggering %s: %s\n", filename, strerror(errno)); + info("error on triggering %s: %s", filename, strerror(errno)); close(fd); } |