mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Wed Nov 28 14:20:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>
* src/virsh.c: Missing comma.
This commit is contained in:
parent
55311d6c38
commit
df0525a911
@ -1,3 +1,7 @@
|
|||||||
|
Wed Nov 28 14:20:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>
|
||||||
|
|
||||||
|
* src/virsh.c: Missing comma.
|
||||||
|
|
||||||
Wed Nov 28 14:21:47 CET 2007 Jim Meyering <meyering@redhat.com>
|
Wed Nov 28 14:21:47 CET 2007 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
* src/virsh.c (vshCloseLogFile): Diagnose close/write failure.
|
* src/virsh.c (vshCloseLogFile): Diagnose close/write failure.
|
||||||
|
@ -4644,7 +4644,7 @@ vshCloseLogFile(vshControl *ctl)
|
|||||||
/* log file close */
|
/* log file close */
|
||||||
if (ctl->log_fd >= 0) {
|
if (ctl->log_fd >= 0) {
|
||||||
if (close(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->logfile ? ctl->logfile : "?", strerror (errno));
|
||||||
ctl->log_fd = -1;
|
ctl->log_fd = -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user