work in progress
[src/app-framework-main.git] / src / wgtpkg-info.c
index f8778e0..1ed4de6 100644 (file)
@@ -22,7 +22,6 @@
 #include <unistd.h>
 #include <limits.h>
 #include <errno.h>
-#include <syslog.h>
 #include <getopt.h>
 
 #include "verbose.h"
@@ -59,7 +58,7 @@ int main(int ac, char **av)
        int i;
        char *wpath;
 
-       openlog(appname, LOG_PERROR, LOG_USER);
+       LOGUSER(appname);
 
        xmlsec_init();