diff --git a/Platform/OpenLinuxBoot/Autodetect.c b/Platform/OpenLinuxBoot/Autodetect.c index 72aa77c0a6877be8c4dd4f253e16b23065a99912..ab4cc9a97efcb1fa9478774ba8167f5799fad7e0 100644 --- a/Platform/OpenLinuxBoot/Autodetect.c +++ b/Platform/OpenLinuxBoot/Autodetect.c @@ -182,7 +182,7 @@ CreateRootPartuuid ( return EFI_OUT_OF_RESOURCES; } - NumPrinted = AsciiSPrint (*Dest, Length + 1, "%a%g", "root=PARTUUID=", gPartuuid); + NumPrinted = AsciiSPrint (*Dest, Length + 1, "%a%g", "root=PARTUUID=", &gPartuuid); ASSERT (NumPrinted == Length); // @@ -450,7 +450,7 @@ InsertRootOption ( DEBUG (( (gLinuxBootFlags & LINUX_BOOT_LOG_VERBOSE) == 0 ? DEBUG_VERBOSE : DEBUG_INFO, "LNX: Creating \"root=PARTUUID=%g\"\n", - gPartuuid + &gPartuuid )); NewOption = OcFlexArrayInsertItem (Options, 0);