Parent Directory | Revision Log | Patch
revision 1.4 by okuji, Mon Aug 22 17:28:59 2005 UTC | revision 1.5 by okuji, Sat Oct 15 17:28:36 2005 UTC | |
---|---|---|
# | Line 146 grub_file_seek (grub_file_t file, grub_s | Line 146 grub_file_seek (grub_file_t file, grub_s |
146 | { | { |
147 | grub_ssize_t old; | grub_ssize_t old; |
148 | ||
149 | if (offset < 0 || offset >= file->size) | if (offset < 0 || offset > file->size) |
150 | { | { |
151 | grub_error (GRUB_ERR_OUT_OF_RANGE, | grub_error (GRUB_ERR_OUT_OF_RANGE, |
152 | "attempt to seek outside of the file"); | "attempt to seek outside of the file"); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |