aboutsummaryrefslogtreecommitdiffstats
path: root/src/wgtpkg-sign.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-sign.c
parent32c6eecb9955e94b4d68efc09912efe88140ce83 (diff)
work in progress
Change-Id: Ifa4371f99968a56e980396f7009ab5030b831ebb
Diffstat (limited to 'src/wgtpkg-sign.c')
-rw-r--r--src/wgtpkg-sign.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wgtpkg-sign.c b/src/wgtpkg-sign.c
index be618a7..9df50ec 100644
--- a/src/wgtpkg-sign.c
+++ b/src/wgtpkg-sign.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>
@@ -91,7 +90,7 @@ int main(int ac, char **av)
char *keyfile, *certfiles[MAXCERT+1], *directory, **x;
struct stat s;
- openlog(appname, LOG_PERROR, LOG_USER);
+ LOGUSER(appname);
force = ncert = author = 0;
number = UINT_MAX;