summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-03-10 11:29:24 +0000
committerDaniel Drake <dsd@gentoo.org>2008-03-10 11:29:24 +0000
commit7c5ea95297c2f3f6afc42f60c1bf1bef777bb1fb (patch)
tree0efd99536bc4b2ee606a096438c51df2f631e8a1 /examples
parent9e89d1aa82cbe7e21672ee3e2e545238fffc5318 (diff)
downloadlibusb-7c5ea95297c2f3f6afc42f60c1bf1bef777bb1fb.tar.gz
get_device fixup
Rename API away from "devh" and fix implementation to match header
Diffstat (limited to 'examples')
-rw-r--r--examples/dpfp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/dpfp.c b/examples/dpfp.c
index 6006bf5..a5151f2 100644
--- a/examples/dpfp.c
+++ b/examples/dpfp.c
@@ -158,7 +158,8 @@ static void cb_mode_changed(struct libusb_transfer *transfer)
do_exit = 2;
}
- printf("async cb_mode_changed\n");
+ printf("async cb_mode_changed length=%d actual_length=%d\n",
+ transfer->length, transfer->actual_length);
if (next_state() < 0)
do_exit = 2;
free(transfer->buffer);