mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
libxl/libxl_save_callout.c: used LOG*D functions
Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat <cbosdonnat@suse.com> Acked-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
1 parent
2657dd9c12
commit
01cd0482cc
1 file changed
+4
-4
@@ -294,8 +294,8 @@ static void helper_stdout_readable(libxl__egc *egc, libxl__ev_fd *ev,
|
||||
int rc, errnoval;
|
||||
|
||||
if (revents & (POLLERR|POLLPRI)) {
|
||||
LOG(ERROR, "%s signaled POLLERR|POLLPRI (%#x)",
|
||||
shs->stdout_what, revents);
|
||||
LOGD(ERROR, shs->domid, "%s signaled POLLERR|POLLPRI (%#x)",
|
||||
shs->stdout_what, revents);
|
||||
rc = ERROR_FAIL;
|
||||
out:
|
||||
/* this is here because otherwise we bypass the decl of msg[] */
|
||||
@@ -339,14 +339,14 @@ static void helper_exited(libxl__egc *egc, libxl__ev_child *ch,
|
||||
|
||||
if (shs->need_results) {
|
||||
if (!shs->rc) {
|
||||
LOG(ERROR,"%s exited without providing results",what);
|
||||
LOGD(ERROR,shs->domid,"%s exited without providing results",what);
|
||||
shs->rc = ERROR_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
if (!shs->completed) {
|
||||
if (!shs->rc) {
|
||||
LOG(ERROR,"%s exited without signaling completion",what);
|
||||
LOGD(ERROR,shs->domid,"%s exited without signaling completion",what);
|
||||
shs->rc = ERROR_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||