diff options
author | Henrik Nord <[email protected]> | 2011-04-29 15:43:24 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-04-29 15:43:34 +0200 |
commit | c45fbd98db22b0dca027a022796d58c32d749608 (patch) | |
tree | 5add29b5a1add67c9b2773bb3a1e6438f4650d19 /erts/emulator | |
parent | 9051df48646573dbb740b16396bf9b55be288525 (diff) | |
parent | 3257bb092473d0fe093c745c5d7dab04c93eb8fe (diff) | |
download | otp-c45fbd98db22b0dca027a022796d58c32d749608.tar.gz otp-c45fbd98db22b0dca027a022796d58c32d749608.tar.bz2 otp-c45fbd98db22b0dca027a022796d58c32d749608.zip |
Merge branch 'ms/unsigned-integer-overflow-in-error' into dev
* ms/unsigned-integer-overflow-in-error:
Unsigned integer may overflow in error message
OTP-9251
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/drivers/common/efile_drv.c | 2 |
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; } |