summaryrefslogtreecommitdiff
path: root/user/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'user/ls.c')
-rw-r--r--user/ls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/ls.c b/user/ls.c
index b54d951..c67b84b 100644
--- a/user/ls.c
+++ b/user/ls.c
@@ -42,6 +42,7 @@ ls(char *path)
}
switch(st.type){
+ case T_DEVICE:
case T_FILE:
printf("%s %d %d %l\n", fmtname(path), st.type, st.ino, st.size);
break;