diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-03-30 21:30:45 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-03-30 21:30:45 +0200 |
commit | ee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch) | |
tree | 58f05092be1a17a939e861f8cadcda1b6ca2ecef /backend/hp5400_sanei.c | |
parent | 0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff) | |
parent | fef76e17ed4c607ea73b81279f9ef1d7121be900 (diff) |
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'backend/hp5400_sanei.c')
-rw-r--r-- | backend/hp5400_sanei.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/backend/hp5400_sanei.c b/backend/hp5400_sanei.c index 1396cb1..10c90ef 100644 --- a/backend/hp5400_sanei.c +++ b/backend/hp5400_sanei.c @@ -133,7 +133,7 @@ hp5400_open (const char *filename) sane_strstatus (status)); return -1; } - + status = sanei_usb_get_vendor_product (fd, &iVendor, &iProduct); if (status != SANE_STATUS_GOOD) { @@ -313,7 +313,7 @@ hp5400_bulk_read_block (int iHandle, int iCmd, void *cmd, int cmdlen, _UsbWriteControl (fd, iCmd, 0, cmd, cmdlen); res = len; sanei_usb_read_bulk (fd, (SANE_Byte *) buffer, &res); - HP5400_DBG (DBG_MSG, "Read block returned %lu when reading %d\n", + HP5400_DBG (DBG_MSG, "Read block returned %lu when reading %d\n", (u_long) res, len); return res; } @@ -384,4 +384,3 @@ hp5400_isOn (int iHandle) return 0; /* is off */ } #endif - |