X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Ffx2lafw%2Ffx2lafw.c;h=54ded2a645e0453cff1be586f44b75c594b45d23;hb=aa7066353c9a54d90695fca3b303e1476dd772fd;hp=eaa218b01c0b7dfc882994c56595c2ffc83f4a0a;hpb=89befd46a8a12b0ba7867e73f7aec77a7dfc0add;p=libsigrok.git diff --git a/hardware/fx2lafw/fx2lafw.c b/hardware/fx2lafw/fx2lafw.c index eaa218b0..54ded2a6 100644 --- a/hardware/fx2lafw/fx2lafw.c +++ b/hardware/fx2lafw/fx2lafw.c @@ -592,7 +592,7 @@ static int config_get(int id, GVariant **data, const struct sr_dev_inst *sdi) switch (id) { case SR_CONF_CONN: if (!sdi || !sdi->conn) - return SR_ERR; + return SR_ERR_ARG; usb = sdi->conn; if (usb->address == 255) /* Device still needs to re-enumerate after firmware