diff options
author | José Bollo <jose.bollo@iot.bzh> | 2015-12-15 16:22:32 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2015-12-15 16:22:32 +0100 |
commit | 41e3ea4dbae634ca13941d134e990d953b741c4b (patch) | |
tree | 96b3e921cbf802605bb7ec50dc6ee69241abdaa1 /src/wgtpkg-files.c | |
parent | 32c6eecb9955e94b4d68efc09912efe88140ce83 (diff) |
work in progress
Change-Id: Ifa4371f99968a56e980396f7009ab5030b831ebb
Diffstat (limited to 'src/wgtpkg-files.c')
-rw-r--r-- | src/wgtpkg-files.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wgtpkg-files.c b/src/wgtpkg-files.c index ed63726..bb758e0 100644 --- a/src/wgtpkg-files.c +++ b/src/wgtpkg-files.c @@ -18,7 +18,6 @@ #include <string.h> #include <errno.h> #include <assert.h> -#include <syslog.h> #include <dirent.h> #include <stdio.h> #include <fcntl.h> @@ -55,7 +54,7 @@ static unsigned int what_signature(const char *name) while ('0' <= name[len] && name[len] <= '9') { nid = 10 * id + (unsigned int)(name[len++] - '0'); if (nid < id || nid == UINT_MAX) { - syslog(LOG_WARNING, "number too big for %s", name); + WARNING("number too big for %s", name); return 0; } id = nid; |