/** @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
{\r
EFI_HANDLE LoadedDriverHandle;\r
EFI_STATUS Status;\r
- EFI_DEVICE_PATH_PROTOCOL *Node;\r
EFI_DEVICE_PATH_PROTOCOL *FilePath;\r
EFI_LOADED_IMAGE_PROTOCOL *LoadedDriverImage;\r
\r
LoadedDriverImage = NULL;\r
FilePath = NULL;\r
- Node = NULL;\r
LoadedDriverHandle = NULL;\r
Status = EFI_SUCCESS;\r
\r
// 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