summaryrefslogtreecommitdiff
path: root/EdkUnixPkg/Dxe/UnixThunk/Bus/Console/Console.c
diff options
context:
space:
mode:
Diffstat (limited to 'EdkUnixPkg/Dxe/UnixThunk/Bus/Console/Console.c')
-rw-r--r--EdkUnixPkg/Dxe/UnixThunk/Bus/Console/Console.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/EdkUnixPkg/Dxe/UnixThunk/Bus/Console/Console.c b/EdkUnixPkg/Dxe/UnixThunk/Bus/Console/Console.c
index 79558a8..2d99d77 100644
--- a/EdkUnixPkg/Dxe/UnixThunk/Bus/Console/Console.c
+++ b/EdkUnixPkg/Dxe/UnixThunk/Bus/Console/Console.c
@@ -50,7 +50,7 @@ EFI_DRIVER_BINDING_PROTOCOL gUnixConsoleDriverBinding = {
UnixConsoleDriverBindingSupported,
UnixConsoleDriverBindingStart,
UnixConsoleDriverBindingStop,
- 0x10,
+ 0xa,
NULL,
NULL
};
@@ -205,11 +205,11 @@ Done:
FreeUnicodeStringTable (Private->ControllerNameTable);
-#if 0
+#if 0
if (Private->NtOutHandle != NULL) {
Private->UnixThunk->CloseHandle (Private->NtOutHandle);
}
-#endif
+#endif
if (Private->SimpleTextIn.WaitForKey != NULL) {
gBS->CloseEvent (Private->SimpleTextIn.WaitForKey);
@@ -294,9 +294,9 @@ Returns:
Status = gBS->CloseEvent (Private->SimpleTextIn.WaitForKey);
ASSERT_EFI_ERROR (Status);
-#if 0
+#if 0
Private->UnixThunk->CloseHandle (Private->NtOutHandle);
-#endif
+#endif
//
// DO NOT close Private->NtInHandle. It points to StdIn and not
// the Private->NtOutHandle is StdIn and should not be closed!