summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/udev.c b/udev.c
index 38b26916c9..b45fb336be 100644
--- a/udev.c
+++ b/udev.c
@@ -38,6 +38,7 @@
/* global variables */
char **main_argv;
char **main_envp;
+unsigned char logname[42];
static void sig_handler(int signum)
{
@@ -174,6 +175,7 @@ int main(int argc, char **argv, char **envp)
main_argv = argv;
main_envp = envp;
+ init_logging("udev");
dbg("version %s", UDEV_VERSION);
return udev_hotplug(argc, argv);