mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
minor bug fixes
This commit is contained in:
parent
587ef67d77
commit
631fe87f4c
2 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include <lib9.h>
|
||||
#include "9proc.h"
|
||||
|
||||
extern int __isthreaded;
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue