diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2016-01-04 16:06:51 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2016-01-04 16:06:51 +0000 |
commit | 9c819426f6f2e1d074b2a7b933f4a56c48d141bd (patch) | |
tree | ae6d2000b54bbc3c4957340427838aa9cb83083d /sys/dev/pv | |
parent | cd9a0fd7db2486524ea9f7b85bc423192f4f3dec (diff) |
Include the node name into the error message
Diffstat (limited to 'sys/dev/pv')
-rw-r--r-- | sys/dev/pv/xenstore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pv/xenstore.c b/sys/dev/pv/xenstore.c index fa749149f1d..5b02945004a 100644 --- a/sys/dev/pv/xenstore.c +++ b/sys/dev/pv/xenstore.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xenstore.c,v 1.11 2015/12/22 22:19:46 mikeb Exp $ */ +/* $OpenBSD: xenstore.c,v 1.12 2016/01/04 16:06:50 mikeb Exp $ */ /* * Copyright (c) 2015 Mike Belopuhov @@ -756,8 +756,8 @@ xs_cmd(struct xs_transaction *xst, int cmd, const char *path, if (xsm->xsm_hdr.xmh_type == XS_ERROR) { error = xs_geterror(xsm); - DPRINTF("%s: xenstore request %d error %s\n", - xs->xs_sc->sc_dev.dv_xname, cmd, xsm->xsm_data); + DPRINTF("%s: xenstore request %d \"%s\" error %s\n", + xs->xs_sc->sc_dev.dv_xname, cmd, path, xsm->xsm_data); } else if (mode == READ) { KASSERT(iov && iov_cnt); error = xs_parse(xst, xsm, iov, iov_cnt); |