From: Bert Vermeulen Date: Mon, 20 Jan 2014 18:07:48 +0000 (+0100) Subject: agilent-dmm: Shorten vendor name. X-Git-Tag: libsigrok-0.3.0~225 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=67d6f6fca2b85f2ef6a7e03383ebdcd2ce877eab;p=libsigrok.git agilent-dmm: Shorten vendor name. --- diff --git a/hardware/agilent-dmm/api.c b/hardware/agilent-dmm/api.c index cc2a4be8..99176ff9 100644 --- a/hardware/agilent-dmm/api.c +++ b/hardware/agilent-dmm/api.c @@ -133,7 +133,7 @@ static GSList *scan(GSList *options) for (i = 0; supported_agdmm[i].model; i++) { if (strcmp(supported_agdmm[i].modelname, tokens[1])) continue; - if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, tokens[0], + if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, "Agilent", tokens[1], tokens[3]))) return NULL; if (!(devc = g_try_malloc0(sizeof(struct dev_context)))) {