[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] tools/xenconsoled: Newline on 'Logfile Opened' messages
commit 743803911c8d2fd49f01693de4d01e5053d8bf48 Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Tue Jul 22 17:17:14 2014 +0100 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Thu Jul 24 16:23:19 2014 +0100 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> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- tools/console/daemon/io.c | 8 ++++---- 1 files 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, -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |