summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-01-22 23:06:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-01-22 23:06:35 +0000
commitcb57849f50dda2a6cbe9456152cf3e6c2a3cce22 (patch)
tree2a8c2bdd0409ad2085144c0fce514877921f8ad7 /lib
parent829af5acc62854b7cd90ccd9f4584f7fca13b511 (diff)
minor getdents cleanup:
o return ENOTDIR, not EINVAL for v_type != VDIR (SunOS behavior) o return EINVAL for values of nbytes too small to hold a single dir entry o remove a redundant check for error != 0
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions