From 011723a4510bc3302ef1f6e7775b8d916b4a6117 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 20 Oct 2018 00:48:21 +0900 Subject: [PATCH] fs-util: include error cause in log message --- src/basic/fs-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/fs-util.c b/src/basic/fs-util.c index 3d83fc9b10..91e83962b8 100644 --- a/src/basic/fs-util.c +++ b/src/basic/fs-util.c @@ -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; }