X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/2c897cad505d3ba27723dcff7252ff123d90ab53..5c988a910c5c32462da462263ea7cb63daecebbc:/src/am7xxx.c diff --git a/src/am7xxx.c b/src/am7xxx.c index c039147..47f79ea 100644 --- a/src/am7xxx.c +++ b/src/am7xxx.c @@ -390,7 +390,8 @@ static int read_header(am7xxx_device *dev, struct am7xxx_header *h) ret = 0; } else { error(dev->ctx, - "Received a packet with direction AM7XXX_DIRECTION_OUT, weird!\n"); + "Expected an AM7XXX_DIRECTION_IN packet, got one with direction = %d. Weird!\n", + h->direction); ret = -EINVAL; }