patch-2.4.4 linux/lib/cmdline.c

Next file: linux/lib/rwsem-spinlock.c
Previous file: linux/lib/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/lib/cmdline.c linux/lib/cmdline.c
@@ -93,9 +93,9 @@
  *	megabyte, or one gigabyte, respectively.
  */
 
-unsigned long memparse (char *ptr, char **retptr)
+unsigned long long memparse (char *ptr, char **retptr)
 {
-	unsigned long ret = simple_strtoul (ptr, retptr, 0);
+	unsigned long long ret = simple_strtoull (ptr, retptr, 0);
 
 	switch (**retptr) {
 	case 'G':

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)