X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2ae8a312e058f71d0f02be4f2f9cc6f284ebbf34..085b0e2ea97ae0a8427cce867428b32c79d40f9d:/client/loclass/fileutils.c?ds=sidebyside diff --git a/client/loclass/fileutils.c b/client/loclass/fileutils.c index 6d990171..c8d56ce3 100644 --- a/client/loclass/fileutils.c +++ b/client/loclass/fileutils.c @@ -49,8 +49,8 @@ * @return */ int fileExists(const char *filename) { - struct _stat fileStat; - int result = _stat(filename, &fileStat); + struct stat st; + int result = stat(filename, &st); return result == 0; }