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
- Lines: 12
- Date:
Thu Apr 12 12:25:53 2001
- Orig file:
v2.4.3/linux/lib/cmdline.c
- Orig date:
Fri Aug 11 19:14:46 2000
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)