X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=hardware%2Fsaleae-logic%2Fsaleae-logic.c;h=140af8b9a11e9702ae2f5e4991bb67f1b91faa6d;hb=0abee5076fd7751bd77d0fee940d617a1a40ea34;hp=ebe02b062d41e115c0953f938acd3e8ecb42f15c;hpb=b5118d6c013c4b5ae7ae146166750b3e392c4a14;p=libsigrok.git diff --git a/hardware/saleae-logic/saleae-logic.c b/hardware/saleae-logic/saleae-logic.c index ebe02b06..140af8b9 100644 --- a/hardware/saleae-logic/saleae-logic.c +++ b/hardware/saleae-logic/saleae-logic.c @@ -460,7 +460,7 @@ static int hw_dev_close(int dev_index) if (!(sdi = sr_dev_inst_get(dev_insts, dev_index))) { sr_err("logic: %s: sdi was NULL", __func__); - return SR_ERR; /* TODO: SR_ERR_ARG? */ + return SR_ERR_BUG; } /* TODO */