aboutsummaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index c0b2ed4..175b4b6 100644
--- a/html.c
+++ b/html.c
@@ -158,10 +158,11 @@ void html_filemode(unsigned short mode)
158 html("d"); 158 html("d");
159 else if (S_ISLNK(mode)) 159 else if (S_ISLNK(mode))
160 html("l"); 160 html("l");
161 else if (S_ISDIRLNK(mode))
162 html("m");
161 else 163 else
162 html("-"); 164 html("-");
163 html_fileperm(mode >> 6); 165 html_fileperm(mode >> 6);
164 html_fileperm(mode >> 3); 166 html_fileperm(mode >> 3);
165 html_fileperm(mode); 167 html_fileperm(mode);
166} 168}
167