diff options
author | Daniel Drake <dsd@gentoo.org> | 2008-03-10 11:29:24 +0000 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2008-03-10 11:29:24 +0000 |
commit | 7c5ea95297c2f3f6afc42f60c1bf1bef777bb1fb (patch) | |
tree | 0efd99536bc4b2ee606a096438c51df2f631e8a1 /examples | |
parent | 9e89d1aa82cbe7e21672ee3e2e545238fffc5318 (diff) | |
download | libusb-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.c | 3 |
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); |