diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-01-23 15:11:15 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-01-23 15:11:15 +0000 |
commit | b675bb30c4e40e043bd182a478c730ae511b15a9 (patch) | |
tree | e497c4d57bbd31211364e5bbe2629b31235c87c4 /sys/dev | |
parent | c4466975d2d7aad0da4524ffd462c377804f6954 (diff) | |
download | FreeBSD-src-b675bb30c4e40e043bd182a478c730ae511b15a9.zip FreeBSD-src-b675bb30c4e40e043bd182a478c730ae511b15a9.tar.gz |
Return ENXIO on error, not 0. Seems to have been skipped when converting
to newbus.
Reviewed by: bde
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sio/sio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index ab8d99c..4fcc02a 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -1048,7 +1048,7 @@ sioattach(dev) if (siosetwater(com, com->it_in.c_ispeed) != 0) { enable_intr(); free(com, M_DEVBUF); - return (0); + return (ENXIO); } enable_intr(); termioschars(&com->it_in); |