summaryrefslogtreecommitdiff
path: root/wait_for_sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'wait_for_sysfs.c')
-rw-r--r--wait_for_sysfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wait_for_sysfs.c b/wait_for_sysfs.c
index 1d7044c61f..37de02261d 100644
--- a/wait_for_sysfs.c
+++ b/wait_for_sysfs.c
@@ -392,7 +392,7 @@ int main(int argc, char *argv[], char *envp[])
int rc = 0;
const char *error = NULL;
- init_logging("wait_for_sysfs");
+ logging_init("wait_for_sysfs");
if (argc != 2) {
dbg("error: subsystem");
@@ -475,5 +475,6 @@ exit:
dbg("result: waiting for sysfs successful '%s'", devpath);
}
+ logging_close();
exit(rc);
}