summaryrefslogtreecommitdiff
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authorNick Hibma <n_hibma@FreeBSD.org>2000-01-23 15:11:15 +0000
committerNick Hibma <n_hibma@FreeBSD.org>2000-01-23 15:11:15 +0000
commit9c918de3de4342d8ed3f0cd893ef02b31e7aaf34 (patch)
tree1366bada30d34beff84a37995d85d787931fbfc8 /sys/dev/sio/sio.c
parent6b713d58060f10872aae35d4de35179268de797b (diff)
Notes
Diffstat (limited to 'sys/dev/sio/sio.c')
-rw-r--r--sys/dev/sio/sio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index ab8d99c2543a..4fcc02af4dc7 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);