From d4c64e5d434d8b9ef4488dddbe8807aed9fd7e98 Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 6 Sep 2006 18:06:04 +0000 Subject: writeable => writable --- syscall.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'syscall.c') diff --git a/syscall.c b/syscall.c index a85dc67..c6d4599 100644 --- a/syscall.c +++ b/syscall.c @@ -260,13 +260,13 @@ sys_open(void) fd->type = FD_FILE; if(arg1 & O_RDWR) { fd->readable = 1; - fd->writeable = 1; + fd->writable = 1; } else if(arg1 & O_WRONLY) { fd->readable = 0; - fd->writeable = 1; + fd->writable = 1; } else { fd->readable = 1; - fd->writeable = 0; + fd->writable = 0; } fd->ip = ip; fd->off = 0; -- cgit v1.2.3