JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
code formatting: indentation, arg name
[vor.git] / file.c
diff --git a/file.c b/file.c
index 5ce183f..efd08e5 100644 (file)
--- a/file.c
+++ b/file.c
@@ -98,10 +98,10 @@ is_dir(char *dirname)
 }
 
 static bool
-is_file(char *dirname)
+is_file(char *filename)
 {
        struct stat buf;
-       if(stat(dirname, &buf)) {
+       if(stat(filename, &buf)) {
                return false;
        }
        return S_ISREG(buf.st_mode);