summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-18 17:40:42 +0000
committerkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-18 17:40:42 +0000
commita8b104aa74193d1bd8e7f29d18a59cc6dddd67f9 (patch)
treec1b82b27591771ee4e1d35cc2a143be98b9e6a48
parent15f2c372077b2535c98ba5a5387d98af93bb2bca (diff)
downloadopenocd_libswd-a8b104aa74193d1bd8e7f29d18a59cc6dddd67f9.tar.gz
openocd_libswd-a8b104aa74193d1bd8e7f29d18a59cc6dddd67f9.tar.bz2
openocd_libswd-a8b104aa74193d1bd8e7f29d18a59cc6dddd67f9.tar.xz
openocd_libswd-a8b104aa74193d1bd8e7f29d18a59cc6dddd67f9.zip
Fix fallout from r1818
git-svn-id: svn://svn.berlios.de/openocd/trunk@1824 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/jtag/jtag.c2
1 files changed, 1 insertions, 1 deletions
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;
}