devoptab: Fix logging

This commit is contained in:
Maschell 2023-04-17 13:56:12 +02:00
parent 49efa4c838
commit 06918bbf13

View File

@ -20,7 +20,7 @@ int __fsa_fstat(struct _reent *r,
status = FSAGetStatFile(deviceData->clientHandle, file->fd, &fsStat); status = FSAGetStatFile(deviceData->clientHandle, file->fd, &fsStat);
if (status < 0) { if (status < 0) {
DEBUG_FUNCTION_LINE_ERR("FSARewindDir(0x%08X, 0x%08X, 0x%08X) (%s) failed: %s", DEBUG_FUNCTION_LINE_ERR("FSAGetStatFile(0x%08X, 0x%08X, 0x%08X) (%s) failed: %s",
deviceData->clientHandle, file->fd, &fsStat, file->fullPath, FSAGetStatusStr(status)); deviceData->clientHandle, file->fd, &fsStat, file->fullPath, FSAGetStatusStr(status));
r->_errno = __fsa_translate_error(status); r->_errno = __fsa_translate_error(status);
return -1; return -1;