From: Laine Stump <laine@redhat.com> The message previously just said "Could not create log directory", but didn't provide the name of the directory, which could be helpful in determine why the failure occured. Signed-off-by: Laine Stump <laine@redhat.com> --- src/util/virlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virlog.c b/src/util/virlog.c index c24dfa83c4..9f53c72975 100644 --- a/src/util/virlog.c +++ b/src/util/virlog.c @@ -178,7 +178,7 @@ virLogSetDefaultOutputToFile(const char *binary, bool privileged) old_umask = umask(077); if (g_mkdir_with_parents(logdir, 0777) < 0) { umask(old_umask); - virReportSystemError(errno, "%s", _("Could not create log directory")); + virReportSystemError(errno, _("Could not create log directory '%1$s'"), logdir); return -1; } umask(old_umask); -- 2.53.0