diff options
author | avg <avg@FreeBSD.org> | 2009-02-19 15:05:30 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2009-02-19 15:05:30 +0000 |
commit | 15d500a57e6b707a1a36908ccd272a1c35cf7a0f (patch) | |
tree | 973974c823ba55113b2a595911612aafa1a8dab8 /lib/libc/stdlib/lldiv.c | |
parent | 8ee3583cc864d8a5035215d558de11774ca4ec0b (diff) | |
download | FreeBSD-src-15d500a57e6b707a1a36908ccd272a1c35cf7a0f.zip FreeBSD-src-15d500a57e6b707a1a36908ccd272a1c35cf7a0f.tar.gz |
fs/udf: fix incorrect error return (-1) when reading a large dir
Not enough space in user-land buffer is not an error, userland
will read further until eof is reached. So instead of propagating
-1 to caller we convert it to zero/success.
cd9660 code works exactly the same way.
PR: kern/78987
Reviewed by: jhb (mentor)
Approved by: jhb (mentor)
Diffstat (limited to 'lib/libc/stdlib/lldiv.c')
0 files changed, 0 insertions, 0 deletions