mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +08:00
Increase debug level of stat() and open() messages
Useful for debugging at level 3 PUBLISHED_FROM=b6a4565df0de0dccf37c182c71d2f4c852f2291a
This commit is contained in:
parent
9e517fde00
commit
731ea5d50d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user