diff options
author | anton <anton@cvs.openbsd.org> | 2019-08-06 07:16:49 +0000 |
---|---|---|
committer | anton <anton@cvs.openbsd.org> | 2019-08-06 07:16:49 +0000 |
commit | 26c3391758b5c6627f2788b54f3f54ad227ec7f3 (patch) | |
tree | 0ad299b2347a3f4584465f9976f2ada9160cea53 /sys/arch | |
parent | ab31e00b3249546be36fbd66f2be5ddc9ea0ab66 (diff) |
Resolve some minor nits in diskmapioctl():
* Favor ENOTTY for unknown ioctl commands
* Return the actual error from copyinstr and copyoutstr, removes the need to
initialize the local error variable
* Do not use parens around return expressions consistently
ok visa@
Diffstat (limited to 'sys/arch')
0 files changed, 0 insertions, 0 deletions