fixed ls -l information for sockets
authorewt <devnull@localhost>
Sun, 27 Sep 1998 16:05:54 +0000 (16:05 +0000)
committerewt <devnull@localhost>
Sun, 27 Sep 1998 16:05:54 +0000 (16:05 +0000)
CVS patchset: 2364
CVS date: 1998/09/27 16:05:54

query.c

diff --git a/query.c b/query.c
index f3873c2..67d2e6c 100644 (file)
--- a/query.c
+++ b/query.c
@@ -228,7 +228,7 @@ static char * permsString(int mode) {
     else if (S_ISFIFO(mode)) 
        perms[0] = 'p';
     else if (S_ISSOCK(mode)) 
-       perms[0] = 'l';
+       perms[0] = 's';
     else if (S_ISCHR(mode)) {
        perms[0] = 'c';
     } else if (S_ISBLK(mode)) {