we weren't printing the sticky bit properly
authorewt <devnull@localhost>
Fri, 20 Dec 1996 22:50:53 +0000 (22:50 +0000)
committerewt <devnull@localhost>
Fri, 20 Dec 1996 22:50:53 +0000 (22:50 +0000)
CVS patchset: 1249
CVS date: 1996/12/20 22:50:53

query.c

diff --git a/query.c b/query.c
index ae91b9d..3c91e0e 100644 (file)
--- a/query.c
+++ b/query.c
@@ -489,7 +489,7 @@ static char * permsString(int mode) {
 
     strcpy(perms, "-----------");
    
-    if (mode & S_ISVTX) perms[9] = 't';
+    if (mode & S_ISVTX) perms[10] = 't';
 
     if (mode & S_IRUSR) perms[1] = 'r';
     if (mode & S_IWUSR) perms[2] = 'w';