diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-04-20 17:39:44 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-04-20 17:39:44 +0200 |
commit | dff107dc1a12538d351798d43191ae5d07d3c6d6 (patch) | |
tree | 0b2674284207059878040961c8220f599370d646 /udev/udevd.c | |
parent | 5e8176e1569de2469321f63aee1765e51bc5ded0 (diff) |
udevd: always use udevd[] log prefix
Diffstat (limited to 'udev/udevd.c')
-rw-r--r-- | udev/udevd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/udev/udevd.c b/udev/udevd.c index 414f0dbbb5..b8513e11fe 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -247,8 +247,6 @@ static void worker_new(struct event *event) close(fd_signal); close(fd_ep); close(worker_watch[READ_END]); - udev_log_close(); - udev_log_init("udevd-work"); sigfillset(&mask); fd_signal = signalfd(-1, &mask, SFD_NONBLOCK|SFD_CLOEXEC); @@ -1061,7 +1059,7 @@ static int convert_db(struct udev *udev) f = fopen("/dev/kmsg", "w"); if (f != NULL) { - fprintf(f, "<30>udev[%u]: converting old udev database\n", getpid()); + fprintf(f, "<30>udevd[%u]: converting old udev database\n", getpid()); fclose(f); } @@ -1436,7 +1434,7 @@ int main(int argc, char *argv[]) f = fopen("/dev/kmsg", "w"); if (f != NULL) { - fprintf(f, "<30>udev[%u]: starting version " VERSION "\n", getpid()); + fprintf(f, "<30>udevd[%u]: starting version " VERSION "\n", getpid()); fclose(f); } |