diff options
author | rsc <devnull@localhost> | 2004-05-14 20:08:02 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-05-14 20:08:02 +0000 |
commit | 631fe87f4c4bdcbc5785c8eb928d20d063f47e0c (patch) | |
tree | cfdad52f29205568ddccb0396a05c8583934da09 /src | |
parent | 587ef67d77423dfba306cd706db6d729c22020c1 (diff) | |
download | plan9port-631fe87f4c4bdcbc5785c8eb928d20d063f47e0c.tar.gz plan9port-631fe87f4c4bdcbc5785c8eb928d20d063f47e0c.tar.bz2 plan9port-631fe87f4c4bdcbc5785c8eb928d20d063f47e0c.zip |
minor bug fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/lib9/_p9dir.c | 2 | ||||
-rw-r--r-- | src/lib9/ffork-FreeBSD.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/lib9/_p9dir.c b/src/lib9/_p9dir.c index 83f35602..00d76789 100644 --- a/src/lib9/_p9dir.c +++ b/src/lib9/_p9dir.c @@ -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); diff --git a/src/lib9/ffork-FreeBSD.c b/src/lib9/ffork-FreeBSD.c index 71945edc..476ce7ab 100644 --- a/src/lib9/ffork-FreeBSD.c +++ b/src/lib9/ffork-FreeBSD.c @@ -1,4 +1,5 @@ #include <lib9.h> +#include "9proc.h" extern int __isthreaded; int |