commit | b8a4fc979849e4470bf31306575a0b0478a6043e | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Tue May 15 17:48:43 2012 -0700 |
committer | H. Peter Anvin <hpa@zytor.com> | Tue May 15 17:48:43 2012 -0700 |
tree | e3e5c1e44c580ce5ea32f2b56e47af12e83d955d | |
parent | b0abe7cd311cba23a960d62d0abed91f798710d2 [diff] |
klibc: fseek: use >= 0 to test for lseek() success On Linux, at least, lseek() will never return a negative value on success; on some architectures comparing against zero is smaller. Signed-off-by: H. Peter Anvin <hpa@zytor.com>