summaryrefslogtreecommitdiff
path: root/StdLib/LibC
diff options
context:
space:
mode:
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-04 23:35:57 +0000
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-04 23:35:57 +0000
commit8379337c91e3b6da5ebc0d99d4147fb623afcd22 (patch)
tree675e644c2a2ca018d50112910be4f659794c6d17 /StdLib/LibC
parent681cc25c179fdf3462d8366edbc3a886443964c7 (diff)
downloadedk2-platforms-8379337c91e3b6da5ebc0d99d4147fb623afcd22.tar.xz
Update or add comments to files and functions for use by Doxygen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12090 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/LibC')
-rw-r--r--StdLib/LibC/Uefi/Devices/Console/daConsole.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/StdLib/LibC/Uefi/Devices/Console/daConsole.c b/StdLib/LibC/Uefi/Devices/Console/daConsole.c
index 5dfc18acb4..5a593557e0 100644
--- a/StdLib/LibC/Uefi/Devices/Console/daConsole.c
+++ b/StdLib/LibC/Uefi/Devices/Console/daConsole.c
@@ -401,12 +401,14 @@ da_ConOpen(
(DevNode == NULL))
{
EFIerrno = RETURN_INVALID_PARAMETER;
+ errno = EINVAL;
return -1;
}
Stream = (ConInstance *)DevNode->InstanceList;
// Quick check to see if Stream looks reasonable
if(Stream->Cookie != CON_COOKIE) { // Cookie == 'IoAb'
EFIerrno = RETURN_INVALID_PARAMETER;
+ errno = EINVAL;
return -1; // Looks like a bad This pointer
}
gMD->StdIo[Stream->InstanceNum] = Stream;