diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-01-26 12:40:48 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-01-27 14:24:10 +0100 |
commit | a01e54d2015ea692e96f8909b3b1a75e0443445e (patch) | |
tree | c2313760cfa75a6bfb17f9524b78289847912fd1 /lib/xfuncs.c | |
parent | ea53e1b5724d78bc6e5cf49d48bf33bdef74faa5 (diff) | |
download | barebox-a01e54d2015ea692e96f8909b3b1a75e0443445e.tar.gz barebox-a01e54d2015ea692e96f8909b3b1a75e0443445e.tar.xz |
treewide: fix format specifiers
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/xfuncs.c')
-rw-r--r-- | lib/xfuncs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xfuncs.c b/lib/xfuncs.c index 4649280329..db85720195 100644 --- a/lib/xfuncs.c +++ b/lib/xfuncs.c @@ -30,7 +30,7 @@ void *xmalloc(size_t size) if (!(p = malloc(size))) panic("ERROR: out of memory\n"); - debug("xmalloc %p (size %d)\n", p, size); + debug("xmalloc %p (size %zu)\n", p, size); return p; } @@ -43,7 +43,7 @@ void *xrealloc(void *ptr, size_t size) if (!(p = realloc(ptr, size))) panic("ERROR: out of memory\n"); - debug("xrealloc %p -> %p (size %d)\n", ptr, p, size); + debug("xrealloc %p -> %p (size %zu)\n", ptr, p, size); return p; } |