projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch from Julian. Commit message by me.
[unix-history]
/
sys
/
scsi
/
ch.c
diff --git
a/sys/scsi/ch.c
b/sys/scsi/ch.c
index
ceec9d2
..
315dab9
100644
(file)
--- a/
sys/scsi/ch.c
+++ b/
sys/scsi/ch.c
@@
-2,7
+2,7
@@
* Written by grefen@?????
* Based on scsi drivers by Julian Elischer (julian@tfs.com)
*
* Written by grefen@?????
* Based on scsi drivers by Julian Elischer (julian@tfs.com)
*
- * $Id: ch.c,v 1.
6 1993/11/25 01:37:31
wollman Exp $
+ * $Id: ch.c,v 1.
7 1993/12/19 00:54:49
wollman Exp $
*/
#include <sys/types.h>
*/
#include <sys/types.h>
@@
-148,7
+148,7
@@
chopen(dev)
*/
if (ch_data[unit].flags & CH_OPEN) {
printf("ch%d: already open\n", unit);
*/
if (ch_data[unit].flags & CH_OPEN) {
printf("ch%d: already open\n", unit);
- return E
NXIO
;
+ return E
BUSY
;
}
/*
* Make sure the device has been initialised
}
/*
* Make sure the device has been initialised