index
:
135e2/xv6-labs.git
xv6-labs-2024-winter
135e2
log msg
author
committer
range
cow
fs
lock
mmap
net
pgtbl
syscall
thread
traps
util
summary
refs
log
tree
commit
diff
path:
root
/
sysfile.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'sysfile.c')
-rw-r--r--
sysfile.c
2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysfile.c b/sysfile.c
index a73f250..e5d4eae 100644
--- a/
sysfile.c
+++ b/
sysfile.c
@@ -54,7 +54,7 @@ int
sys_pipe(void)
{
int *fd;
- struct file *rf = 0, *wf = 0;
+ struct file *rf, *wf;
int fd0, fd1;
if(argptr(0, (void*)&fd, 2*sizeof fd[0]) < 0)