kopia lustrzana https://gitlab.com/sane-project/backends
format fix and fix missing return
rodzic
1d21f36d9f
commit
120806fa38
backend
|
@ -3,6 +3,8 @@
|
|||
DYNAMIC_FLAG configuration.
|
||||
* acinclude.m4, sanei/sanei_jpeg.c: Don't compile sanei_jpeg
|
||||
if libjpeg is unavailable.
|
||||
* backend/hs2p-scsi.c: format fix.
|
||||
* backend/hs2p.c: fix missing return.
|
||||
|
||||
2009-01-31 Chris Bagwell <cbagwell-guest at users.alioth.debian.org>
|
||||
* backend/Makefil.am: Add missing math library to coolscan2
|
||||
|
|
|
@ -444,8 +444,8 @@ sense_handler (int __sane_unused__ scsi_fd, u_char * sense_buffer, void *sd)
|
|||
print_sense_data (DBG_LEVEL, (SENSE_DATA *) sense_buffer);
|
||||
|
||||
/* store sense_buffer */
|
||||
DBG (DBG_info, ">> copying %d bytes from sense_buffer[] to sense_data\n",
|
||||
sizeof (SENSE_DATA));
|
||||
DBG (DBG_info, ">> copying %lu bytes from sense_buffer[] to sense_data\n",
|
||||
(u_long) sizeof (SENSE_DATA));
|
||||
memcpy (sdp, sense_buffer, sizeof (SENSE_DATA));
|
||||
if (DBG_LEVEL >= DBG_info)
|
||||
print_sense_data (DBG_LEVEL, sdp);
|
||||
|
|
|
@ -1891,6 +1891,7 @@ hs2p_open (HS2P_Scanner * s)
|
|||
return status;
|
||||
}
|
||||
DBG (DBG_proc, "<< hs2p_open\n");
|
||||
return SANE_STATUS_GOOD;
|
||||
}
|
||||
|
||||
static SANE_Status
|
||||
|
|
Ładowanie…
Reference in New Issue