diff options
Diffstat (limited to 'src/lib9/dirmodefmt.c')
-rw-r--r-- | src/lib9/dirmodefmt.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib9/dirmodefmt.c b/src/lib9/dirmodefmt.c index 8d796354..790b5fa0 100644 --- a/src/lib9/dirmodefmt.c +++ b/src/lib9/dirmodefmt.c @@ -33,6 +33,14 @@ dirmodefmt(Fmt *f) buf[0]='a'; else if(m & DMAUTH) buf[0]='A'; + else if(m & DMDEVICE) + buf[0] = 'D'; + else if(m & DMSYMLINK) + buf[0] = 'L'; + else if(m & DMSOCKET) + buf[0] = 'S'; + else if(m & DMNAMEDPIPE) + buf[0] = 'P'; else buf[0]='-'; if(m & DMEXCL) |