diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-11-20 10:11:09 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-11-20 10:11:09 +0000 |
commit | cca10e65346f7f34cc2f8943d7635b7fcf039cab (patch) | |
tree | 21816e8c35893e14de2cadd1c3e6973b612712e0 | |
parent | e3462b228ce9533b6e7989361f9c4090043a8aa4 (diff) | |
download | openocd_libswd-cca10e65346f7f34cc2f8943d7635b7fcf039cab.tar.gz openocd_libswd-cca10e65346f7f34cc2f8943d7635b7fcf039cab.tar.bz2 openocd_libswd-cca10e65346f7f34cc2f8943d7635b7fcf039cab.tar.xz openocd_libswd-cca10e65346f7f34cc2f8943d7635b7fcf039cab.zip |
- fox small typo in handle_irscan_command
git-svn-id: svn://svn.berlios.de/openocd/trunk@1178 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/jtag/jtag.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |