diff options
Diffstat (limited to '')
-rw-r--r-- | core/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -164,7 +164,7 @@ int ls(char *path) { if (path[strlen(path) - 1] != '/') strcat(fullpath, "/"); strcat(fullpath, name); } - stat(fullpath, &file_status); + lstat(fullpath, &file_status); /* File modes */ /* File type */ { |