From: kc8apf Date: Mon, 18 May 2009 17:40:42 +0000 (+0000) Subject: Fix fallout from r1818 X-Git-Tag: v0.2.0~686 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a8b104aa74193d1bd8e7f29d18a59cc6dddd67f9;p=openocd Fix fallout from r1818 git-svn-id: svn://svn.berlios.de/openocd/trunk@1824 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index 8c0d5743..f1c6676e 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -868,7 +868,7 @@ int MINIDRIVER(interface_jtag_add_dr_scan)(int num_fields, scan_field_t *fields, } /* field_count represents the true number of fields setup*/ - (*last_cmd)->cmd.scan->num_fields = field_count; + cmd->cmd.scan->num_fields = field_count; return ERROR_OK; }