transport: fix transport command args gaffe
authorsimon qian <simonqian.openocd@gmail.com>
Thu, 13 Jan 2011 07:27:42 +0000 (08:27 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 13 Jan 2011 07:28:33 +0000 (08:28 +0100)
commit11193c040cf0db5c64e7db808b10184aa8915aa3
treea0af96273d8e837073e67492250efc398681b401
parent8eb92c7e99c018c1cb48be76b0c9736b6c64cba9
transport: fix transport command args gaffe

the wrong index of argv. argv[0] is the command itself,
argv[1] the the transport to select.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/jtag/transport.c