diff --git a/src/lib9/_p9dir.c b/src/lib9/_p9dir.c index 58c63573..19de921c 100644 --- a/src/lib9/_p9dir.c +++ b/src/lib9/_p9dir.c @@ -51,8 +51,6 @@ disksize(int fd, struct stat *st) struct disklabel lab; int n; - if(!S_ISCHR(st->st_mode)) - return 0; if(ioctl(fd, DIOCGDINFO, &lab) < 0) return 0; n = minor(st->st_rdev)&7;