kopia lustrzana https://gitlab.com/sane-project/backends
Fixed minor bugs in debug output and documentation.
Henning Meier-Geinitz <henning@meier-geinitz.de>DEVEL_2_0_BRANCH-1
rodzic
4ddf86fe34
commit
a9218c2311
|
@ -403,7 +403,7 @@ init (struct backend *be)
|
|||
|
||||
if (SANE_VERSION_MAJOR (version) != V_MAJOR)
|
||||
{
|
||||
DBG(1, "init: backend `%s´ has a wrong major version (%d instead of %d)\n",
|
||||
DBG(1, "init: backend `%s' has a wrong major version (%d instead of %d)\n",
|
||||
be->name, SANE_VERSION_MAJOR (version), V_MAJOR);
|
||||
return SANE_STATUS_INVAL;
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ The package
|
|||
contains a lot of backends, documentation (including the
|
||||
.B SANE
|
||||
standard), networking support, and the command line frontend `scanimage'. The
|
||||
frontends `xscanimage´ and `xcam´ are included in the package
|
||||
frontends `xscanimage' and `xcam' are included in the package
|
||||
.B `sane-frontends'.
|
||||
Both packages can be downloaded from the
|
||||
.B SANE
|
||||
|
@ -361,7 +361,7 @@ contain /usr/local/lib/sane. See also the documentation of the frontends.
|
|||
.SH REPORTING BUGS
|
||||
If you think you found a bug in a backend, contact the author of your
|
||||
backend. Usually the email address can be found in the @DOCDIR@/AUTHORS
|
||||
file. If he isn't marked as `active maintainer´ you can also contact the SANE
|
||||
file. If he isn't marked as `active maintainer' you can also contact the SANE
|
||||
mailing list sane-devel (see http://www.mostang.com/sane/mail.html for
|
||||
details). You must be subscribed to the list, otherwise your mail won't be
|
||||
sent to the subscribers.
|
||||
|
|
|
@ -1486,7 +1486,7 @@ main (int argc, char **argv)
|
|||
Start image acquisition on a scanner device and write PNM image data to\n\
|
||||
standard output.\n\
|
||||
\n\
|
||||
-b, --batch[=FORMAT] working in batch mode, FORMAT is `out%%d.tif´ by\n\
|
||||
-b, --batch[=FORMAT] working in batch mode, FORMAT is `out%%d.tif' by\n\
|
||||
default\n\
|
||||
--batch-start=# page number to start naming files with\n\
|
||||
--batch-count=# how many pages to scan in batch mode\n\
|
||||
|
|
|
@ -227,8 +227,8 @@ sanei_usb_read_bulk (SANE_Int fd, SANE_Byte * buffer, size_t *size)
|
|||
*size = 0;
|
||||
return SANE_STATUS_EOF;
|
||||
}
|
||||
DBG (5, "sanei_usb_read_bulk: wanted %lu bytes, got %l bytes\n",
|
||||
*size, read_size);
|
||||
DBG (5, "sanei_usb_read_bulk: wanted %lu bytes, got %ld bytes\n",
|
||||
(unsigned long) *size, (unsigned long) read_size);
|
||||
*size = read_size;
|
||||
return SANE_STATUS_GOOD;
|
||||
}
|
||||
|
@ -251,8 +251,8 @@ sanei_usb_write_bulk (SANE_Int fd, SANE_Byte * buffer, size_t *size)
|
|||
*size = 0;
|
||||
return SANE_STATUS_IO_ERROR;
|
||||
}
|
||||
DBG (5, "sanei_usb_read_write: wanted %lu bytes, wrote %l bytes\n",
|
||||
*size, write_size);
|
||||
DBG (5, "sanei_usb_write_bulk: wanted %lu bytes, wrote %ld bytes\n",
|
||||
(unsigned long) *size, (unsigned long) write_size);
|
||||
*size = write_size;
|
||||
return SANE_STATUS_GOOD;
|
||||
}
|
||||
|
|
|
@ -539,7 +539,7 @@ main (int argc, char **argv)
|
|||
}
|
||||
if (unknown_found)
|
||||
printf ("\n"
|
||||
"# `UNKNOWN vendor and product´ means that there seems to be a scanner\n"
|
||||
"# `UNKNOWN vendor and product' means that there seems to be a scanner\n"
|
||||
"# at this device file but the vendor and product ids couldn't be \n"
|
||||
"# identified. Currently identification only works with Linux versions\n"
|
||||
"# >= 2.4.8. \n");
|
||||
|
|
Ładowanie…
Reference in New Issue