summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-02-27 20:54:37 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-02-27 20:54:37 +0100
commit87e610e70e6252f45fb2b5c9f4f11f9c49eddf79 (patch)
treeb289fb14759701918c3a479f7fa756ecf91e2a8b
parent559bbb50378323aff840451aeb9d789461c981a7 (diff)
downloadlr-87e610e70e6252f45fb2b5c9f4f11f9c49eddf79.tar.gz
lr-87e610e70e6252f45fb2b5c9f4f11f9c49eddf79.tar.xz
lr-87e610e70e6252f45fb2b5c9f4f11f9c49eddf79.zip
fix sticky bit in %M
-rw-r--r--lr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lr.c b/lr.c
index ded2721..05eeae9 100644
--- a/lr.c
+++ b/lr.c
@@ -1257,7 +1257,7 @@ print_mode(int mode)
 	                     : (mode & 00010 ? 'x' : '-'));
 	putchar(mode & 00004 ? 'r' : '-');
 	putchar(mode & 00002 ? 'w' : '-');
-	putchar(mode & 01000 ? (mode & 00001 ? 'T' : 't')
+	putchar(mode & 01000 ? (mode & 00001 ? 't' : 'T')
 	                     : (mode & 00001 ? 'x' : '-'));
 }