]> git.sur5r.net Git - openocd/blobdiff - src/target/arm_disassembler.c
- image.c and fileio.c now uses logging to propagate error strings.
[openocd] / src / target / arm_disassembler.c
index ed7fe655f8173bf143445262179b940e903688b8..7028e9f515c0b1ed1a25013e597a86c899f54bd4 100644 (file)
@@ -346,7 +346,7 @@ int evaluate_load_store(u32 opcode, u32 address, arm_instruction_t *instruction)
                if (offset_12)
                        snprintf(offset, 32, ", #%s0x%x", (U) ? "" : "-", offset_12);
                else
-                       snprintf(offset, 32, "");
+                       snprintf(offset, 32, "%s", "");
                
                instruction->info.load_store.offset_mode = 0;
                instruction->info.load_store.offset.offset = offset_12;