X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fpread.c;h=6ff753ed5d3b8b56766961e37f4482dee20f8feb;hb=599a664564268f6a1b5895c928a59459c9851b2a;hp=7094ea7d087c32fb9d963b312b8d9a93649a8056;hpb=23cd74133c81b80d335c701848b71d85a53402c6;p=gnulib.git diff --git a/lib/pread.c b/lib/pread.c index 7094ea7d0..6ff753ed5 100644 --- a/lib/pread.c +++ b/lib/pread.c @@ -1,5 +1,5 @@ /* replacement pread function - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -56,7 +56,7 @@ pread (int fd, void *buf, size_t nbyte, off_t offset) if (__libc_lseek (fd, old_offset, SEEK_SET) == (off_t) -1) { if (result == -1) - __set_errno (save_errno); + __set_errno (save_errno); return -1; } __set_errno (save_errno);