From db79a63c0d1a1e9152839dd52a352b1b3e414674 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Thu, 13 Mar 2014 16:03:47 +0100 Subject: [PATCH] Fix a typo in the format string. --- src/ihex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ihex.c b/src/ihex.c index 559e4b4..69df787 100644 --- a/src/ihex.c +++ b/src/ihex.c @@ -95,7 +95,7 @@ dc_ihex_file_read (dc_ihex_file_t *file, dc_ihex_entry_t *entry) /* Ignore CR and LF characters. */ if (ascii[0] != '\n' && ascii[0] != '\r') { - ERROR (file->context, "Unexpected character (0x%02).", ascii[0]); + ERROR (file->context, "Unexpected character (0x%02x).", ascii[0]); return DC_STATUS_DATAFORMAT; } }