public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98055e0
)
syscall_fs: getmode change I missed
author
Alan Cox
<alan@linux.intel.com>
Mon, 22 Feb 2016 23:45:01 +0000
(23:45 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Mon, 22 Feb 2016 23:45:01 +0000
(23:45 +0000)
Kernel/syscall_fs.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_fs.c
b/Kernel/syscall_fs.c
index
c4dd91a
..
90e877a
100644
(file)
--- a/
Kernel/syscall_fs.c
+++ b/
Kernel/syscall_fs.c
@@
-36,7
+36,7
@@
arg_t _lseek(void)
if ((ino = getinode(file)) == NULLINODE)
return (-1);
- if (getmode(ino) ==
F_PIPE
) {
+ if (getmode(ino) ==
MODE_R(F_PIPE)
) {
udata.u_error = ESPIPE;
return (-1);
}