- fox small typo in handle_irscan_command

git-svn-id: svn://svn.berlios.de/openocd/trunk@1178 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
ntfreak 2008-11-20 10:11:09 +00:00
parent e3462b228c
commit cca10e6534

View File

@ -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;
}