kfs: extend fid from short to ulong
This commit is contained in:
parent
92cab4a2e0
commit
b2c75c5ee3
2 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ struct File
|
|||
long addr;
|
||||
long slot;
|
||||
long lastra; /* read ahead address */
|
||||
short fid;
|
||||
ulong fid;
|
||||
short uid;
|
||||
char open;
|
||||
#define FREAD 1
|
||||
|
|
|
@ -89,7 +89,7 @@ loop:
|
|||
goto out;
|
||||
}
|
||||
}
|
||||
else print("cannot find %p.%d (list=%p)\n", cp, fid, cp->flist);
|
||||
else print("cannot find %p.%ud (list=%p)\n", cp, fid, cp->flist);
|
||||
unlock(&cp->flock);
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue