From cca10e65346f7f34cc2f8943d7635b7fcf039cab Mon Sep 17 00:00:00 2001 From: ntfreak Date: Thu, 20 Nov 2008 10:11:09 +0000 Subject: [PATCH] - fox small typo in handle_irscan_command git-svn-id: svn://svn.berlios.de/openocd/trunk@1178 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 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; } -- 2.39.5