From a430bdb13215eac169cd1c7e3e2fe88124c84b8e Mon Sep 17 00:00:00 2001 From: darylm503 Date: Mon, 15 Aug 2011 19:05:36 +0000 Subject: 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 --- StdLib/LibC/Stdio/fgetpos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'StdLib/LibC') 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); } -- cgit v1.1