update patch
[debian/elilo] / bootparams.c
index 1a2c54b3b0e388697d2b174b3e154f33d4390472..576a57942973f7c93b1e79b7ecf4e18cb8e72931 100644 (file)
@@ -78,7 +78,7 @@ create_boot_params(CHAR16 *args, memdesc_t *initrd, memdesc_t *vmcode, UINTN *co
                return 0;
        }
 
-       VERB_PRT(3, Print(L"boot params @ 0x%lx\n", bp));
+       VERB_PRT(3, Print(L"boot params @ " PTR_FMT "\n", bp));
 
 /* XXX: need to fix this for 3.5 */
 #ifdef CONFIG_ia64
@@ -96,6 +96,8 @@ create_boot_params(CHAR16 *args, memdesc_t *initrd, memdesc_t *vmcode, UINTN *co
         */
        Memset(bp, 0, BOOT_PARAM_MEMSIZE);
 
+       U2ascii(args, cp, cmdline_size);
+
        if (sysdeps_create_boot_params(bp, cp, initrd, vmcode, cookie) == -1) return 0;
 
        /*