From 99dba4e58c8f76bc9c1c7a9b00fb626feb2617dd Mon Sep 17 00:00:00 2001 From: Julius Trinkunas Date: Wed, 22 Jul 2015 18:16:31 +0300 Subject: [PATCH] Fixes #157 - Bad error formatting string in check_error() --- src/ios-deploy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios-deploy.c b/src/ios-deploy.c index 7a601e1..779682f 100644 --- a/src/ios-deploy.c +++ b/src/ios-deploy.c @@ -193,7 +193,7 @@ const int exitcode_app_crash = 254; { \ const char* msg = get_error_message(err); \ /*on_error("Error 0x%x: %s " #call, err, msg ? msg : "unknown.");*/ \ - on_error(@"Error 0x%x: %s " #call, err, msg ? [NSString stringWithUTF8String:msg] : @"unknown."); \ + on_error(@"Error 0x%x: %@ " #call, err, msg ? [NSString stringWithUTF8String:msg] : @"unknown."); \ } \ } while (false);