format fix and fix missing return

merge-requests/1/head
Mattias Ellert 2009-02-01 18:50:24 +00:00
rodzic 1d21f36d9f
commit 120806fa38
3 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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);

Wyświetl plik

@ -1891,6 +1891,7 @@ hs2p_open (HS2P_Scanner * s)
return status;
}
DBG (DBG_proc, "<< hs2p_open\n");
return SANE_STATUS_GOOD;
}
static SANE_Status