[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 1/3] tools/xenconsoled: Newline on 'Logfile Opened' messages
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CC: Ian Campbell <Ian.Campbell@xxxxxxxxxx> CC: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- tools/console/daemon/io.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/console/daemon/io.c b/tools/console/daemon/io.c index 46719a8..313b256 100644 --- a/tools/console/daemon/io.c +++ b/tools/console/daemon/io.c @@ -276,8 +276,8 @@ static int create_hv_log(void) dolog(LOG_ERR, "Failed to open log %s: %d (%s)", logfile, errno, strerror(errno)); if (fd != -1 && log_time_hv) { - if (write_with_timestamp(fd, "Logfile Opened", - strlen("Logfile Opened"), + if (write_with_timestamp(fd, "Logfile Opened\n", + strlen("Logfile Opened\n"), &log_time_hv_needts) < 0) { dolog(LOG_ERR, "Failed to log opening timestamp " "in %s: %d (%s)", logfile, errno, @@ -322,8 +322,8 @@ static int create_domain_log(struct domain *dom) dolog(LOG_ERR, "Failed to open log %s: %d (%s)", logfile, errno, strerror(errno)); if (fd != -1 && log_time_guest) { - if (write_with_timestamp(fd, "Logfile Opened", - strlen("Logfile Opened"), + if (write_with_timestamp(fd, "Logfile Opened\n", + strlen("Logfile Opened\n"), &log_time_guest_needts) < 0) { dolog(LOG_ERR, "Failed to log opening timestamp " "in %s: %d (%s)", logfile, errno, -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |