aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--colorize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/colorize.c b/colorize.c
index cc89193..2637dab 100644
--- a/colorize.c
+++ b/colorize.c
@@ -671,7 +671,7 @@ process_file_arg (const char *file_string, const char **file, FILE **stream)
int ret;
errno = 0;
- ret = lstat (file, &sb);
+ ret = stat (file, &sb);
if (ret == -1)
vfprintf_fail (formats[FMT_FILE], file, strerror (errno));