diff options
author | 2013-09-22 15:42:53 +0000 | |
---|---|---|
committer | 2013-09-22 15:42:53 +0000 | |
commit | 96c276e94efe82b7271d5c9657b80c038b4a2b7b (patch) | |
tree | a9cb99ed79409a14b5f90777ff7b20a9aa57b799 /sys/dev | |
parent | merge ldns 1.6.16 (diff) | |
download | wireguard-openbsd-96c276e94efe82b7271d5c9657b80c038b4a2b7b.tar.xz wireguard-openbsd-96c276e94efe82b7271d5c9657b80c038b4a2b7b.zip |
On return, uio_offset needs to be set to the offset of the first entry
not returned instead of the offset after that one.
udf_uiodir() returns -1 when there isn't enough space for the next entry,
so just break from the loop and return 0 in that case.
Remove the bogus printf there now that this is handled correctly.
problem reported by espie@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions