summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/fdescfs/fdesc_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c
index 7923fc6..e54c77e 100644
--- a/sys/fs/fdescfs/fdesc_vnops.c
+++ b/sys/fs/fdescfs/fdesc_vnops.c
@@ -538,7 +538,7 @@ fdesc_readdir(ap)
break;
dp->d_namlen = sprintf(dp->d_name, "%d", fcnt);
dp->d_reclen = UIO_MX;
- dp->d_type = DT_UNKNOWN;
+ dp->d_type = DT_CHR;
dp->d_fileno = i + FD_DESC;
break;
}
OpenPOWER on IntegriCloud