diff --git a/src/files.c b/src/files.c
index b457689f4e4f4d3421c4e91942f9d856d368f6c4..90060277bf119d5b869adfcd7780b4e81ad7709d 100644
--- a/src/files.c
+++ b/src/files.c
@@ -2050,7 +2050,7 @@ void free_chararray(char **array, size_t len)
 #endif
 
 #ifndef DISABLE_TABCOMP
-/* Is the given file a directory? */
+/* Is the given path a directory? */
 bool is_dir(const char *buf)
 {
     char *dirptr;