summaryrefslogtreecommitdiff
path: root/udev/udev-event.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-03-23 01:41:25 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-03-23 01:41:25 +0100
commitcf3b3fbcd5c43bdc5e7e15189c71b62a36a1cf03 (patch)
treeff0b3d0c16d7d48c9bc9a250cfec1b3baff40a14 /udev/udev-event.c
parentb7822bc4986a5396af7621a6a03e163142d86277 (diff)
udevd: use facility == LOG_DAEMON when writing to /dev/kmsg
Syslog wants to distinguish the sorce of messages. We should indicate that this is a userspace message (LOG_DAEMON) and not a kernel message (LOG_KERNEL).
Diffstat (limited to 'udev/udev-event.c')
-rw-r--r--udev/udev-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev-event.c b/udev/udev-event.c
index 137ba36776..63a8b3aa83 100644
--- a/udev/udev-event.c
+++ b/udev/udev-event.c
@@ -454,7 +454,7 @@ static void rename_netif_kernel_log(struct ifreq ifr)
return;
}
- fprintf(f, "<6>udev[%u]: renamed network interface %s to %s\n",
+ fprintf(f, "<30>udev[%u]: renamed network interface %s to %s\n",
getpid(), ifr.ifr_name, ifr.ifr_newname);
fclose(f);
}