From: Daniel P. Berrange Date: Fri, 31 Jul 2009 14:51:27 +0000 (+0100) Subject: Improve diagnostics when pidfile writing fails X-Git-Tag: v0.7.0~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88e3e8be7cad1dda53e14d0a72560e013ef94759;p=thirdparty%2Flibvirt.git Improve diagnostics when pidfile writing fails * src/util.c: Include path & pid when logging pidfile failure --- 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);