Skip to content

Commit 66a88ac

Browse files
committed
Fix bad DEBUGV argument (thanks @g3gg0)
1 parent ee2d449 commit 66a88ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/esp8266/spiffs_api.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ class SPIFFSImpl : public FSImpl {
6666

6767
bool rename(const char* pathFrom, const char* pathTo) override {
6868
if (!isSpiffsFilenameValid(pathFrom)) {
69-
DEBUGV("SPIFFSImpl::rename: invalid pathFrom=`%s`\r\n", path);
69+
DEBUGV("SPIFFSImpl::rename: invalid pathFrom=`%s`\r\n", pathFrom);
7070
return false;
7171
}
7272
if (!isSpiffsFilenameValid(pathTo)) {
73-
DEBUGV("SPIFFSImpl::rename: invalid pathTo=`%s` \r\n", path);
73+
DEBUGV("SPIFFSImpl::rename: invalid pathTo=`%s` \r\n", pathTo);
7474
return false;
7575
}
7676
auto rc = SPIFFS_rename(&_fs, pathFrom, pathTo);

0 commit comments

Comments
 (0)