diff options
Diffstat (limited to 'src/core/path.c')
-rw-r--r-- | src/core/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/path.c b/src/core/path.c index d399238a41..cd7478f1fc 100644 --- a/src/core/path.c +++ b/src/core/path.c @@ -250,7 +250,7 @@ static void path_spec_mkdir(PathSpec *s, mode_t mode) { r = mkdir_p_label(s->path, mode); if (r < 0) - log_warning("mkdir(%s) failed: %s", s->path, strerror(-r)); + log_warning_errno(-r, "mkdir(%s) failed: %m", s->path); } static void path_spec_dump(PathSpec *s, FILE *f, const char *prefix) { |