[klibc] Don't set the file pointer to -1 if unseekable

For unseekable files, don't set the file pointer to -1.  Although
it is arguably meaningless anyway, there might be problems with having
the stdio file pointer be negative.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
1 file changed