Commit 731ea5d5 authored by Deomid Ryabkov's avatar Deomid Ryabkov Committed by Cesanta Bot

Increase debug level of stat() and open() messages

Useful for debugging at level 3

PUBLISHED_FROM=b6a4565df0de0dccf37c182c71d2f4c852f2291a
parent 9e517fde
......@@ -12287,7 +12287,8 @@ int _open(const char *pathname, int flags, mode_t mode) {
if (fd >= 0) fd += SPIFFS_FD_BASE;
#endif
}
DBG(("open(%s, 0x%x) = %d, fname = %s", pathname, flags, fd, fname));
LOG(LL_DEBUG,
("open(%s, 0x%x) = %d, fname = %s", pathname, flags, fd, fname));
return fd;
}
......@@ -12313,7 +12314,7 @@ int _stat(const char *pathname, struct stat *st) {
res = fs_spiffs_stat(fname, st);
#endif
}
DBG(("stat(%s) = %d; fname = %s", pathname, res, fname));
LOG(LL_DEBUG, ("stat(%s) = %d; fname = %s", pathname, res, fname));
return res;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment