epson2: fix error message

merge-requests/1/head
Alessandro Zummo 2015-05-12 03:10:22 +02:00
rodzic b2aefab4cb
commit 025f886f4b
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -616,7 +616,7 @@ detect_usb(struct Epson_Scanner *s)
}
if (is_valid == SANE_FALSE) {
DBG(1, "the device at %s is not a supported (product id=0x%x)\n",
DBG(1, "the device at %s is not supported (product id=0x%x)\n",
s->hw->sane.name, product);
return SANE_STATUS_INVAL;
}
@ -814,6 +814,7 @@ attach_one_config(SANEI_Config __sane_unused__ *config, const char *line)
DBG(7, "%s: len = %d, line = %s\n", __func__, len, line);
if (sscanf(line, "usb %i %i", &vendor, &product) == 2) {
/* add the vendor and product IDs to the list of
known devices before we call the attach function */