projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0432465
)
devmem: fixlet in cleanup code
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 26 Oct 2008 19:07:43 +0000
(19:07 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 26 Oct 2008 19:07:43 +0000
(19:07 -0000)
miscutils/devmem.c
patch
|
blob
|
history
diff --git
a/miscutils/devmem.c
b/miscutils/devmem.c
index 4903b5dcba0495dde67836118514a3fc8f22ea3b..e13dedc0a5dccc8347eef0272b02a778dd62081b 100644
(file)
--- 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);
}