--- a/utils/lint.cpp
+++ b/utils/lint.cpp
@@ -81,7 +81,7 @@
 
     ext = strrchr(fn, '.');
 
-    if(!fsys::isfile(fn)) {
+    if(!fsys::is_file(fn)) {
         fprintf(stderr, "*** baylint: %s: not found\n", fn);
         exit(-1);
     }