svn commit: trunk/busybox/miscutils

vda at busybox.net vda at busybox.net
Sun Oct 26 19:07:44 UTC 2008


Author: vda
Date: 2008-10-26 12:07:43 -0700 (Sun, 26 Oct 2008)
New Revision: 23803

Log:
devmem: fixlet in cleanup code



Modified:
   trunk/busybox/miscutils/devmem.c


Changeset:
Modified: trunk/busybox/miscutils/devmem.c
===================================================================
--- trunk/busybox/miscutils/devmem.c	2008-10-26 17:26:55 UTC (rev 23802)
+++ trunk/busybox/miscutils/devmem.c	2008-10-26 19:07:43 UTC (rev 23803)
@@ -119,7 +119,7 @@
 	}
 
 	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);
 	}




More information about the busybox-cvs mailing list