fix a bug in the Linux cmdline handling code.

This commit is contained in:
okuji committed 2000-10-16 04:27:56 +00:00
1 parent 11236082ea
commit 092f32f05b
2 files changed
+10 -2

No files matched your search

+3 -2
View File
@@ -320,8 +320,9 @@ load_image (char *kernel, char *arg, kernel_t suggested_type,
char *src = skip_to (0, arg);
char *dest = (char *) CL_MY_LOCATION;
while (((int) dest) < CL_MY_END_ADDR && (*(dest++) = *(src++)));
while (((int) dest) < CL_MY_END_ADDR && *src)
*(dest++) = *(src++);
/* Add a mem option automatically only if the user doesn't
specify it explicitly. */
if (! grub_strstr (arg, "mem=")