From 88e3e8be7cad1dda53e14d0a72560e013ef94759 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 31 Jul 2009 15:51:27 +0100 Subject: [PATCH] Improve diagnostics when pidfile writing fails * src/util.c: Include path & pid when logging pidfile failure --- src/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util.c b/src/util.c index 39aae24f79..0d4f3fa495 100644 --- a/src/util.c +++ b/src/util.c @@ -541,7 +541,8 @@ __virExec(virConnectPtr conn, usleep(500*1000); kill(pid, SIGTERM); virReportSystemError(conn, errno, - "%s", _("could not write pidfile")); + _("could not write pidfile %s for %d"), + pidfile, pid); _exit(1); } _exit(0);