diff options
author | Denis Vlasenko | 2008-10-26 19:07:43 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-10-26 19:07:43 +0000 |
commit | 6b9d6c7544b5edf79365ef3cb5b37359538c31dd (patch) | |
tree | 22b0e7b1e0ec7adb9306125e6372cb60a17eff63 /miscutils | |
parent | 043246560fcd5bb7bfb2caa2db270c3c0e8e06f4 (diff) | |
download | busybox-6b9d6c7544b5edf79365ef3cb5b37359538c31dd.zip busybox-6b9d6c7544b5edf79365ef3cb5b37359538c31dd.tar.gz |
devmem: fixlet in cleanup code
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/devmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/devmem.c b/miscutils/devmem.c index 4903b5d..e13dedc 100644 --- a/miscutils/devmem.c +++ b/miscutils/devmem.c @@ -119,7 +119,7 @@ int devmem_main(int argc UNUSED_PARAM, char **argv) } if (ENABLE_FEATURE_CLEAN_UP) { - if (munmap(map_base, page_size) == -1) + if (munmap(map_base, page_size * 2) == -1) bb_perror_msg_and_die("munmap"); close(fd); } |