diff options
| author | forsyth <forsyth@vitanuova.com> | 2010-02-13 21:14:07 +0000 |
|---|---|---|
| committer | forsyth <forsyth@vitanuova.com> | 2010-02-13 21:14:07 +0000 |
| commit | aee7f58dfcd519d45482e45ab1ce6026c846dc21 (patch) | |
| tree | 625f826e28ad2b461bf6c89fd75d56508000239a /emu/port | |
| parent | ef8c4b7cc9976629fb7fab3bee406a42e6a2dece (diff) | |
20100213-2114
Diffstat (limited to 'emu/port')
| -rw-r--r-- | emu/port/devfs-posix.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/emu/port/devfs-posix.c b/emu/port/devfs-posix.c index 1ce6af40..7372f589 100644 --- a/emu/port/devfs-posix.c +++ b/emu/port/devfs-posix.c @@ -750,7 +750,7 @@ fsdirread(Chan *c, uchar *va, int count, vlong offset) struct stat stbuf; char path[MAXPATH], *ep; struct dirent *de; - static char slop[8192]; + static uchar slop[8192]; i = 0; fspath(FS(c)->name, "", path); @@ -951,7 +951,6 @@ static User* newuname(char *name) { struct passwd *p; - User *u; p = getpwnam(name); if(p == nil) @@ -963,7 +962,6 @@ static User* newuid(int id) { struct passwd *p; - User *u; p = getpwuid(id); if(p == nil) @@ -1010,7 +1008,6 @@ newgname(char *name) static User* id2user(User **tab, int id, User* (*get)(int)) { - int i; User *u, **h; h = hashuser(tab, id); |
