diff --git a/Userland/Utilities/ls.cpp b/Userland/Utilities/ls.cpp index 281650c26c9..ac3d136827a 100644 --- a/Userland/Utilities/ls.cpp +++ b/Userland/Utilities/ls.cpp @@ -377,7 +377,7 @@ static bool print_filesystem_object(ByteString const& path, ByteString const& na st.st_mode & S_IWOTH ? 'w' : '-'); if (st.st_mode & S_ISVTX) - printf("t"); + printf("%c", st.st_mode & S_IXOTH ? 't' : 'T'); else printf("%c", st.st_mode & S_IXOTH ? 'x' : '-');