fs-util: include error cause in log message
This commit is contained in:
parent
0c7539634f
commit
011723a451
|
@ -1173,7 +1173,7 @@ int unlinkat_deallocate(int fd, const char *name, int flags) {
|
|||
return 0;
|
||||
|
||||
if (fstat(truncate_fd, &st) < 0) {
|
||||
log_debug_errno(errno, "Failed to stat file '%s' for deallocation, ignoring.", name);
|
||||
log_debug_errno(errno, "Failed to stat file '%s' for deallocation, ignoring: %m", name);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue