]> git.sur5r.net Git - openocd/blobdiff - src/target/arm920t.c
Ferdinand Postema <ferdinand@postema.eu> fix cygwin warnings
[openocd] / src / target / arm920t.c
index 10428a65c9e1db7a5a5bb628a85bb9c6c98d690d..3d119bd6f1fdedb306be145ad5805975b8553d26 100644 (file)
@@ -497,7 +497,7 @@ int arm920t_arch_state(struct target_s *target)
                exit(-1);
        }
 
-       LOG_USER(       "target halted in %s state due to %s, current mode: %s\n"
+       LOG_USER("target halted in %s state due to %s, current mode: %s\n"
                        "cpsr: 0x%8.8" PRIx32 " pc: 0x%8.8" PRIx32 "\n"
                        "MMU: %s, D-Cache: %s, I-Cache: %s",
                         armv4_5_state_strings[armv4_5->core_state],
@@ -574,7 +574,7 @@ int arm920t_soft_reset_halt(struct target_s *target)
 
        long long then = timeval_ms();
        int timeout;
-       while (!(timeout = ((timeval_ms()-then)>1000)))
+       while (!(timeout = ((timeval_ms()-then) > 1000)))
        {
                if (buf_get_u32(dbg_stat->value, EICE_DBG_STATUS_DBGACK, 1) == 0)
                {