summaryrefslogtreecommitdiff
path: root/udevinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevinfo.c')
-rw-r--r--udevinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/udevinfo.c b/udevinfo.c
index 4d28755b2f..71a9a6d93e 100644
--- a/udevinfo.c
+++ b/udevinfo.c
@@ -38,6 +38,7 @@
char **main_argv;
int main_argc;
+unsigned char logname[42];
static int print_all_attributes(const char *path)
{
@@ -412,6 +413,8 @@ int main(int argc, char *argv[], char *envp[])
main_argv = argv;
main_argc = argc;
+ init_logging("udevinfo");
+
/* initialize our configuration */
udev_init_config();