public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69f7c96
)
Kernel: Bug fix for failed _open on devices
author
Will Sowerbutts
<will@sowerbutts.com>
Wed, 25 Feb 2015 00:13:04 +0000
(
00:13
+0000)
committer
Will Sowerbutts
<will@sowerbutts.com>
Wed, 25 Feb 2015 23:43:28 +0000
(23:43 +0000)
Kernel/syscall_fs2.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_fs2.c
b/Kernel/syscall_fs2.c
index
23ea036
..
0290b6d
100644
(file)
--- a/
Kernel/syscall_fs2.c
+++ b/
Kernel/syscall_fs2.c
@@
-507,7
+507,7
@@
arg_t _open(void)
if (isdevice(ino)
&& d_open((int) ino->c_node.i_addr[0], flag) != 0) {
udata.u_error = ENXIO;
- goto
idrop
;
+ goto
cantopen
;
}
/* get the static pointer back */
ino = itmp;