summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
Diffstat (limited to 'udev')
-rw-r--r--udev/udev-event.c4
-rw-r--r--udev/udevd.c2
2 files changed, 3 insertions, 3 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);
}
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);
}