summaryrefslogtreecommitdiff
path: root/udev/udev-event.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-08-19 08:49:43 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-08-19 08:49:43 +0200
commitc25bfbfb1b20781698ff3c8cbc884a9e190052ee (patch)
tree34edbcd389b082b23ff44bd3261524ad4c8df619 /udev/udev-event.c
parentd15b727ef1375c665057c0fa278b2ea3778b8d3d (diff)
udevd: add pid to kmsg logs
Diffstat (limited to 'udev/udev-event.c')
-rw-r--r--udev/udev-event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udev-event.c b/udev/udev-event.c
index 9b5326bf22..ae523f83c5 100644
--- a/udev/udev-event.c
+++ b/udev/udev-event.c
@@ -454,8 +454,8 @@ static void rename_netif_kernel_log(struct ifreq ifr)
return;
}
- fprintf(f, "<6>udev: renamed network interface %s to %s\n",
- ifr.ifr_name, ifr.ifr_newname);
+ fprintf(f, "<6>udev[%u]: renamed network interface %s to %s\n",
+ getpid(), ifr.ifr_name, ifr.ifr_newname);
fclose(f);
}