aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-07-25 14:31:24 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-07-28 09:20:02 +0200
commita083c088b60dd2055bc6d852635b9589d62b6bc1 (patch)
tree6237cfb7650f723110eee781d6d96a666c830e93
parentd07cff1b13af4fde05d2fa081c7f33c115ecf841 (diff)
downloadcmocka-a083c088b60dd2055bc6d852635b9589d62b6bc1.tar.gz
cmocka-a083c088b60dd2055bc6d852635b9589d62b6bc1.tar.xz
cmocka-a083c088b60dd2055bc6d852635b9589d62b6bc1.zip
cmocka: do not use # with the %p printf modifier
Missed out during while amending commit 61b2b557951(cmocka: use %p to printf a pointer). Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--src/cmocka.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmocka.c b/src/cmocka.c
index 69f792d..f4dcf98 100644
--- a/src/cmocka.c
+++ b/src/cmocka.c
@@ -1637,7 +1637,7 @@ static LONG WINAPI exception_filter(EXCEPTION_POINTERS *exception_pointers) {
if (code == code_info->code) {
static int shown_debug_message = 0;
fflush(stdout);
- print_error("%s occurred at %#p.\n", code_info->description,
+ print_error("%s occurred at %p.\n", code_info->description,
exception_record->ExceptionAddress);
if (!shown_debug_message) {
print_error(