-rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,13 +155,13 @@ void html_fileperm(unsigned short mode) void html_filemode(unsigned short mode) { if (S_ISDIR(mode)) html("d"); else if (S_ISLNK(mode)) html("l"); - else if (S_ISDIRLNK(mode)) + else if (S_ISGITLINK(mode)) html("m"); else html("-"); html_fileperm(mode >> 6); html_fileperm(mode >> 3); html_fileperm(mode); |