TODO: namei, schar not compatible

uchar compatible
This commit is contained in:
Oliver Lehmann 2008-05-17 17:03:09 +00:00
parent 50bff6952f
commit b31f9ab934
1 changed files with 2 additions and 4 deletions

View File

@ -246,7 +246,6 @@ out:
*/
schar()
{
return(u.u_dirp.left++ & 0377);
}
@ -256,10 +255,9 @@ schar()
*/
uchar()
{
register c;
char c;
c = fubyte(u.u_dirp.left++);
if(!c)
if (fubyte(u.u_dirp.l++, &c))
u.u_error = EFAULT;
return(c);
}