diff options
author | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-15 19:05:36 +0000 |
---|---|---|
committer | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-15 19:05:36 +0000 |
commit | a430bdb13215eac169cd1c7e3e2fe88124c84b8e (patch) | |
tree | c3cbc5768c704fab8d21b07c29a62c2e0f08bf06 /StdLib/LibC | |
parent | abb4e5f3460fd4bf6ab1bf7ef67a8bddaf238f67 (diff) | |
download | edk2-a430bdb13215eac169cd1c7e3e2fe88124c84b8e.zip edk2-a430bdb13215eac169cd1c7e3e2fe88124c84b8e.tar.gz edk2-a430bdb13215eac169cd1c7e3e2fe88124c84b8e.tar.bz2 |
Update or add comments to files and functions for use by Doxygen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12139 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/LibC')
-rw-r--r-- | StdLib/LibC/Stdio/fgetpos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StdLib/LibC/Stdio/fgetpos.c b/StdLib/LibC/Stdio/fgetpos.c index 61d6f75..8dd0fd6 100644 --- a/StdLib/LibC/Stdio/fgetpos.c +++ b/StdLib/LibC/Stdio/fgetpos.c @@ -56,7 +56,7 @@ fgetpos(FILE *fp, fpos_t *pos) _DIAGASSERT(fp != NULL);
_DIAGASSERT(pos != NULL);
- if(fp == NULL) {
+ if((fp == NULL) || (pos == NULL)) {
errno = EINVAL;
return (EOF);
}
|