summaryrefslogtreecommitdiffstats
path: root/sys/geom/eli/g_eli.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-04-15 18:30:42 +0000
committerpjd <pjd@FreeBSD.org>2006-04-15 18:30:42 +0000
commit9727721d259860486dc93aaba67ab8afb89d419f (patch)
treeb67c1452cc801ccf38cc83e85e5ffc0318f2b577 /sys/geom/eli/g_eli.c
parent333b9af7b9dbd88ab8d7681e846729616ee11a96 (diff)
downloadFreeBSD-src-9727721d259860486dc93aaba67ab8afb89d419f.zip
FreeBSD-src-9727721d259860486dc93aaba67ab8afb89d419f.tar.gz
Correct debug: we are sending child bio here, not parent bio.
MFC after: 1 week
Diffstat (limited to 'sys/geom/eli/g_eli.c')
-rw-r--r--sys/geom/eli/g_eli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/eli/g_eli.c b/sys/geom/eli/g_eli.c
index 313eddf..803678d 100644
--- a/sys/geom/eli/g_eli.c
+++ b/sys/geom/eli/g_eli.c
@@ -361,7 +361,7 @@ g_eli_start(struct bio *bp)
cbp->bio_done = g_eli_read_done;
cp = LIST_FIRST(&sc->sc_geom->consumer);
cbp->bio_to = cp->provider;
- G_ELI_LOGREQ(2, bp, "Sending request.");
+ G_ELI_LOGREQ(2, cbp, "Sending request.");
/*
* Read encrypted data from provider.
*/
@@ -378,7 +378,7 @@ g_eli_start(struct bio *bp)
cbp->bio_done = g_std_done;
cp = LIST_FIRST(&sc->sc_geom->consumer);
cbp->bio_to = cp->provider;
- G_ELI_LOGREQ(2, bp, "Sending request.");
+ G_ELI_LOGREQ(2, cbp, "Sending request.");
g_io_request(cbp, cp);
break;
}
OpenPOWER on IntegriCloud