Change a couple of codes to be POSIX ones.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@96 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
David Reid
2002-07-11 21:42:50 +00:00
parent 62f1aef129
commit 47cfcef2aa
+2 -2
View File
@@ -336,13 +336,13 @@ static int console_ioctl(void * cookie, uint32 op, void *buf, size_t len)
if(_console_write(((char *)buf) + 2*sizeof(int), &wlen) == 0)
err = 0; // we're okay
else
err = ERR_IO_ERROR;
err = EIO;
restore_cur();
mutex_unlock(&console.lock);
break;
}
default:
err = ERR_INVALID_ARGS;
err = EINVAL;
}
return err;