From 43f16cfa921aabdddf07bc996d8690dd66c1f364 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 11 May 2007 00:20:51 +0000 Subject: again --- src/lib9/_p9dir.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/lib9/_p9dir.c b/src/lib9/_p9dir.c index 555d20d0..e092b0cf 100644 --- a/src/lib9/_p9dir.c +++ b/src/lib9/_p9dir.c @@ -70,14 +70,16 @@ static int isdisk(struct stat *st) { char *name; - int i; + int i, len; if(!S_ISCHR(st->st_mode)) return 0; name = devname(st->st_rdev, S_IFCHR); - for(i=0; i