lib9: use symlink size, not target size, in dirstat
diff --git a/src/lib9/_p9dir.c b/src/lib9/_p9dir.c
index c7578a5..bc54d67 100644
--- a/src/lib9/_p9dir.c
+++ b/src/lib9/_p9dir.c
@@ -203,8 +203,10 @@
 			d->mode |= DMDIR;
 			d->qid.type = QTDIR;
 		}
-		if(S_ISLNK(lst->st_mode))	/* yes, lst not st */
+		if(S_ISLNK(lst->st_mode)){	/* yes, lst not st */
 			d->mode |= DMSYMLINK;
+			d->length = lst->st_size;
+		}
 		if(S_ISFIFO(st->st_mode))
 			d->mode |= DMNAMEDPIPE;
 		if(S_ISSOCK(st->st_mode))