]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c
Comment's added and fixed.
[mirror_edk2.git] / ShellPkg / Library / UefiShellLevel2CommandsLib / Load.c
index 1e29ad62e1bb3a09a475e22001893a43414cf521..5edb9d77355067bfdb1095a3a58fb88d6210fe99 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Main file for attrib shell level 2 function.\r
 \r
-  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -248,9 +248,9 @@ ShellCommandRunLoad (
             // once we have an error preserve that value, but finish the loop.\r
             //\r
             if (EFI_ERROR(Status)) {\r
-              LoadDriver(Node->FullName, ShellCommandLineGetFlag(Package, L"-nc"));\r
+              LoadDriver(Node->FullName, (BOOLEAN)(ShellCommandLineGetFlag(Package, L"-nc")==FALSE));\r
             } else {\r
-              Status = LoadDriver(Node->FullName, ShellCommandLineGetFlag(Package, L"-nc"));\r
+              Status = LoadDriver(Node->FullName, (BOOLEAN)(ShellCommandLineGetFlag(Package, L"-nc")==FALSE));\r
             }\r
           } // for loop for multi-open\r
           if (EFI_ERROR(Status)) {\r