From ce16ff901c63c65d6087af4436159a6529de3b95 Mon Sep 17 00:00:00 2001 From: ntfreak Date: Wed, 6 Aug 2008 14:36:37 +0000 Subject: - fix target_examine declaration - remove build warnings - added --enable-gccwarnings to docs - update mips_m4k_examine function git-svn-id: svn://svn.berlios.de/openocd/trunk@893 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/openocd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/openocd.c') diff --git a/src/openocd.c b/src/openocd.c index 67d890ec..9abe3b35 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -118,7 +118,7 @@ int handle_init_command(struct command_context_s *cmd_ctx, char *cmd, char **arg if (jtag_init(cmd_ctx) == ERROR_OK) { LOG_DEBUG("jtag init complete"); - if (target_examine(cmd_ctx) == ERROR_OK) + if (target_examine() == ERROR_OK) { LOG_DEBUG("jtag examine complete"); } -- cgit v1.2.3