X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=ShellPkg%2FLibrary%2FUefiShellLevel2CommandsLib%2FLoad.c;fp=ShellPkg%2FLibrary%2FUefiShellLevel2CommandsLib%2FLoad.c;h=5edb9d77355067bfdb1095a3a58fb88d6210fe99;hb=b54fd049bdfa0d9520a40d8a1783aa681b40d751;hp=1e29ad62e1bb3a09a475e22001893a43414cf521;hpb=2398d9b1d75f3097c68be1d353d271c31789c5f3;p=mirror_edk2.git diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c index 1e29ad62e1..5edb9d7735 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c @@ -1,7 +1,7 @@ /** @file Main file for attrib shell level 2 function. - Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -248,9 +248,9 @@ ShellCommandRunLoad ( // once we have an error preserve that value, but finish the loop. // if (EFI_ERROR(Status)) { - LoadDriver(Node->FullName, ShellCommandLineGetFlag(Package, L"-nc")); + LoadDriver(Node->FullName, (BOOLEAN)(ShellCommandLineGetFlag(Package, L"-nc")==FALSE)); } else { - Status = LoadDriver(Node->FullName, ShellCommandLineGetFlag(Package, L"-nc")); + Status = LoadDriver(Node->FullName, (BOOLEAN)(ShellCommandLineGetFlag(Package, L"-nc")==FALSE)); } } // for loop for multi-open if (EFI_ERROR(Status)) {