summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-10-18 18:15:10 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 22:02:45 -0700
commit7257cb18458e6b51cc9655887b7f9745f704b71f (patch)
treed7ddc0f12844e7ed866905a47ff806fcb4919c66 /udev.c
parent0f634c33d7eb634737915dc1aa3b7d7342d1a5f2 (diff)
[PATCH] close the syslog
Seems that we never closed the opened syslog. Here is a patch to do this in all our binaries.
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev.c b/udev.c
index b4b08b335b..10a937e472 100644
--- a/udev.c
+++ b/udev.c
@@ -122,7 +122,7 @@ int main(int argc, char *argv[], char *envp[])
main_argv = argv;
main_envp = envp;
- init_logging("udev");
+ logging_init("udev");
udev_init_config();
@@ -203,5 +203,6 @@ int main(int argc, char *argv[], char *envp[])
udevdb_exit();
exit:
+ logging_close();
return retval;
}