aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorMichael Santos <[email protected]>2011-04-06 14:56:43 -0400
committerHenrik Nord <[email protected]>2011-04-07 15:03:00 +0200
commit3257bb092473d0fe093c745c5d7dab04c93eb8fe (patch)
tree24199384369a43543dd7725d4973316a945af4a3 /erts
parent67bea716bb708e9fe49d9934e656928f68b8f49f (diff)
downloadotp-3257bb092473d0fe093c745c5d7dab04c93eb8fe.tar.gz
otp-3257bb092473d0fe093c745c5d7dab04c93eb8fe.tar.bz2
otp-3257bb092473d0fe093c745c5d7dab04c93eb8fe.zip
Unsigned integer may overflow in error message
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/drivers/common/efile_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/drivers/common/efile_drv.c b/erts/emulator/drivers/common/efile_drv.c
index 4e9b5005c1..f0ff3f54c5 100644
--- a/erts/emulator/drivers/common/efile_drv.c
+++ b/erts/emulator/drivers/common/efile_drv.c
@@ -410,7 +410,7 @@ struct t_data
static void *ef_safe_alloc(Uint s)
{
void *p = EF_ALLOC(s);
- if (!p) erl_exit(1, "efile drv: Can't allocate %d bytes of memory\n", s);
+ if (!p) erl_exit(1, "efile drv: Can't allocate %lu bytes of memory\n", (unsigned long)s);
return p;
}