diff options
author | alfred <alfred@FreeBSD.org> | 2001-01-14 12:08:50 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2001-01-14 12:08:50 +0000 |
commit | 1e926698897866d89b4a54e28f0e15c08d08c7ee (patch) | |
tree | 5aa33bdf6ae6a2e362081f042e77a91b4292d736 /usr.sbin/cdcontrol | |
parent | ffc1b6907f69a0ba44c97ce1d8d153adac60473d (diff) | |
download | FreeBSD-src-1e926698897866d89b4a54e28f0e15c08d08c7ee.zip FreeBSD-src-1e926698897866d89b4a54e28f0e15c08d08c7ee.tar.gz |
Special case the error reporting when errno is ENOTDIR or ENOENT.
This makes "mkdir /nonexistant/foo" complain that /nonexistant
doesn't exist rather than /nonexistant/foo which doesn't make much
sense.
Submitted (in a different form) by: W.H.Scholten <whs@xs4all.nl>
Diffstat (limited to 'usr.sbin/cdcontrol')
0 files changed, 0 insertions, 0 deletions