From a8b104aa74193d1bd8e7f29d18a59cc6dddd67f9 Mon Sep 17 00:00:00 2001 From: kc8apf Date: Mon, 18 May 2009 17:40:42 +0000 Subject: [PATCH] Fix fallout from r1818 git-svn-id: svn://svn.berlios.de/openocd/trunk@1824 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/jtag/jtag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5