summaryrefslogtreecommitdiff
path: root/udev/udevd.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/udevd.c
parentd15b727ef1375c665057c0fa278b2ea3778b8d3d (diff)
udevd: add pid to kmsg logs
Diffstat (limited to 'udev/udevd.c')
-rw-r--r--udev/udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevd.c b/udev/udevd.c
index 61b76f5c3e..ad2ca3b4d2 100644
--- a/udev/udevd.c
+++ b/udev/udevd.c
@@ -1298,7 +1298,7 @@ int main(int argc, char *argv[])
f = fopen("/dev/kmsg", "w");
if (f != NULL) {
- fprintf(f, "<6>udev: starting version " VERSION "\n");
+ fprintf(f, "<6>udev[%u]: starting version " VERSION "\n", getpid());
fclose(f);
}