summaryrefslogtreecommitdiff
path: root/udevtrigger.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevtrigger.c')
-rw-r--r--udevtrigger.c4
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);
}