summaryrefslogtreecommitdiff
path: root/backend/hp5400_sanei.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-31 16:59:49 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-31 16:59:49 +0200
commit1687222e1b9e74c89cafbb5910e72d8ec7bfd40f (patch)
treed78102ce30207c63e7608eeba743efd680c888dc /backend/hp5400_sanei.c
parent58912f68c2489bcee787599837447e0d64dfd61a (diff)
New upstream version 1.0.28upstream/1.0.28
Diffstat (limited to 'backend/hp5400_sanei.c')
-rw-r--r--backend/hp5400_sanei.c5
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
-