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>
libxl_ctx *ctx = libxl__gc_owner(gc);
char *s = xs_get_domain_path(ctx->xsh, domid);
if (!s) {
- LOGE(ERROR, "failed to get dompath for %"PRIu32, domid);
+ LOGED(ERROR, domid, "Failed to get dompath");
return NULL;
}
libxl__ptr_add(gc, s);
{
char *s = GCSPRINTF("/libxl/%i", domid);
if (!s)
- LOG(ERROR, "cannot allocate create paths");
+ LOGD(ERROR, domid, "cannot allocate create paths");
return s;
}