[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xl: Comment error handling in dolog
commit 015d6ed025e25ff19236a2a8533324006339baf5 Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> AuthorDate: Wed Feb 19 14:03:30 2014 +0000 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Wed Mar 12 14:11:41 2014 +0000 xl: Comment error handling in dolog Coverity-ID: 1087116 Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> CC: coverity@xxxxxxxxxxxxxx --- tools/libxl/xl_cmdimpl.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 6a1e2ac..5a92c3b 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -352,6 +352,8 @@ static void dolog(const char *file, int line, const char *func, char *fmt, ...) rc = vasprintf(&s, fmt, ap); va_end(ap); if (rc >= 0) + /* we ignore write errors since we have no way to report them; + * the alternative would be to abort the whole program */ libxl_write_exactly(NULL, logfile, s, rc, NULL, NULL); free(s); } -- 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 |