pixma_bjnp.c: fix incorrect return from SANE_STATUS_INVAL to BJNP_STATUS_INVAL

as pointed out on F32 compile in CI
merge-requests/436/head
Louis Lagendijk 2020-05-11 17:12:31 +02:00
rodzic 5ad7708381
commit 080ac870ee
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1799,7 +1799,7 @@ bjnp_allocate_device (SANE_String_Const devname,
if (result != 0 )
{
PDBG (bjnp_dbg (LOG_CRIT, "bjnp_allocate_device: ERROR - Cannot resolve host: %s port %s\n", host, port));
return SANE_STATUS_INVAL;
return BJNP_STATUS_INVAL;
}
/* Check if a device number is already allocated to any of the scanner's addresses */