Change return value on error.
[fw/openocd] / src / jtag / drivers / ep93xx.c
index 09312c5f85b6cdaa577787fd3e0c89f6a358351b..7e3b4568be8a8c553f20d716a155bea1413e8eb8 100644 (file)
@@ -195,8 +195,8 @@ static int ep93xx_init(void)
        gpio_data_register = gpio_controller + 0x08;
        gpio_data_direction_register = gpio_controller + 0x18;
 
-       LOG_INFO("gpio_data_register      = %p\n", gpio_data_register);
-       LOG_INFO("gpio_data_direction_reg = %p\n", gpio_data_direction_register);
+       LOG_INFO("gpio_data_register      = %p", gpio_data_register);
+       LOG_INFO("gpio_data_direction_reg = %p", gpio_data_direction_register);
        /*
         * Configure bit 0 (TDO) as an input, and bits 1-5 (TDI, TCK
         * TMS, TRST, SRST) as outputs.  Drive TDI and TCK low, and