diff options
-rw-r--r-- | udev.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -106,8 +106,6 @@ static int subsystem_without_dev(const char *subsystem) int main(int argc, char *argv[], char *envp[]) { - main_argv = argv; - main_envp = envp; struct sigaction act; char *action; char *devpath = ""; @@ -121,6 +119,9 @@ int main(int argc, char *argv[], char *envp[]) dbg("version %s", UDEV_VERSION); + main_argv = argv; + main_envp = envp; + init_logging("udev"); udev_init_config(); |