From: ntfreak Date: Thu, 20 Nov 2008 10:11:09 +0000 (+0000) Subject: - fox small typo in handle_irscan_command X-Git-Tag: v0.1.0~152 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cca10e65346f7f34cc2f8943d7635b7fcf039cab;p=openocd - fox small typo in handle_irscan_command git-svn-id: svn://svn.berlios.de/openocd/trunk@1178 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index d8f3ccdc..5e29082c 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -2125,7 +2125,7 @@ int handle_irscan_command(struct command_context_s *cmd_ctx, char *cmd, char **a { int device = strtoul(args[i*2], NULL, 0); jtag_device_t *device_ptr=jtag_get_device(device); - if (device==NULL) + if (device_ptr==NULL) { return ERROR_FAIL; }