summaryrefslogtreecommitdiff
path: root/udevsend.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevsend.c')
-rw-r--r--udevsend.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/udevsend.c b/udevsend.c
index 23ba1a1b00..883181c1b6 100644
--- a/udevsend.c
+++ b/udevsend.c
@@ -123,7 +123,7 @@ int main(int argc, char* argv[])
socklen_t addrlen;
int started_daemon = 0;
- init_logging("udevsend");
+ logging_init("udevsend");
dbg("version %s", UDEV_VERSION);
subsystem = get_subsystem(argv[1]);
@@ -215,5 +215,7 @@ exit:
if (sock != -1)
close(sock);
+ logging_close();
+
return retval;
}