summaryrefslogtreecommitdiffstats
path: root/src/wgtpkg-pack.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2015-12-15 16:22:32 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2015-12-15 16:22:32 +0100
commit41e3ea4dbae634ca13941d134e990d953b741c4b (patch)
tree96b3e921cbf802605bb7ec50dc6ee69241abdaa1 /src/wgtpkg-pack.c
parent32c6eecb9955e94b4d68efc09912efe88140ce83 (diff)
work in progress
Change-Id: Ifa4371f99968a56e980396f7009ab5030b831ebb
Diffstat (limited to 'src/wgtpkg-pack.c')
-rw-r--r--src/wgtpkg-pack.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wgtpkg-pack.c b/src/wgtpkg-pack.c
index b8e49e2..483ec89 100644
--- a/src/wgtpkg-pack.c
+++ b/src/wgtpkg-pack.c
@@ -21,7 +21,6 @@
#include <unistd.h>
#include <limits.h>
#include <errno.h>
-#include <syslog.h>
#include <getopt.h>
#include <sys/stat.h>
#include <fcntl.h>
@@ -71,7 +70,7 @@ int main(int ac, char **av)
char *wgtfile, *directory, *x;
struct stat s;
- openlog(appname, LOG_PERROR, LOG_USER);
+ LOGUSER(appname);
force = 0;
wgtfile = directory = NULL;