minor bug fixes

This commit is contained in:
rsc 2004-05-14 20:08:02 +00:00
parent 587ef67d77
commit 631fe87f4c
2 changed files with 3 additions and 0 deletions

View file

@ -84,6 +84,8 @@ _p9dir(struct stat *st, char *name, Dir *d, char **str, char *estr)
static int gid, uid;
int sz, fd;
fd = -1;
USED(fd);
sz = 0;
if(d)
memset(d, 0, sizeof *d);

View file

@ -1,4 +1,5 @@
#include <lib9.h>
#include "9proc.h"
extern int __isthreaded;
int