diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2019-09-08 18:28:52 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-09-08 18:29:46 +0200 |
commit | 487bd0d96c8fb9a53871134ebba7c0a66e286334 (patch) | |
tree | 985e1eb67d2ad7bf3731458f35dd478cd1044ab8 | |
parent | 4d0c703e750cdbaa7d8afc56de05bd1238e3c981 (diff) | |
download | firewall3-487bd0d96c8fb9a53871134ebba7c0a66e286334.tar.gz |
utils: Fix string format message
Fix the format string to match the size_t type, this fixes a build
problem on 64 bit platforms.
Fixes: 4d0c703e750c ("firewall3: Fix some format string problems")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ fw3_alloc(size_t size) mem = calloc(1, size); if (!mem) - error("Out of memory while allocating %d bytes", size); + error("Out of memory while allocating %zd bytes", size); return mem; } |