From df0525a91144b185c7003232de1d2d86a88aba14 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 28 Nov 2007 14:22:30 +0000 Subject: [PATCH] Wed Nov 28 14:20:00 GMT 2007 Richard W.M. Jones * src/virsh.c: Missing comma. --- ChangeLog | 4 ++++ src/virsh.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8d9cc18771..ab842fa3f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Nov 28 14:20:00 GMT 2007 Richard W.M. Jones + + * src/virsh.c: Missing comma. + Wed Nov 28 14:21:47 CET 2007 Jim Meyering * src/virsh.c (vshCloseLogFile): Diagnose close/write failure. diff --git a/src/virsh.c b/src/virsh.c index 86f5b8b368..be0646f30d 100644 --- a/src/virsh.c +++ b/src/virsh.c @@ -4644,7 +4644,7 @@ vshCloseLogFile(vshControl *ctl) /* log file close */ if (ctl->log_fd >= 0) { if (close(ctl->log_fd) < 0) - vshError(ctl, FALSE, _("%s: failed to write log file: %s") + vshError(ctl, FALSE, _("%s: failed to write log file: %s"), ctl->logfile ? ctl->logfile : "?", strerror (errno)); ctl->log_fd = -1; }