From be506a9f7fc49602ffb677a5a94fc96a726149ec 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() --- ios-deploy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios-deploy.c b/ios-deploy.c index 9966ccd..e734fba 100644 --- a/ios-deploy.c +++ b/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);