From 12efdc925f1ba8ba0616736b5b5351aa82667ff9 Mon Sep 17 00:00:00 2001 From: comex Date: Wed, 28 Jan 2015 01:16:49 -0500 Subject: sorta --- ios-bootstrap/unrestrict-me.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ios-bootstrap/unrestrict-me.c') diff --git a/ios-bootstrap/unrestrict-me.c b/ios-bootstrap/unrestrict-me.c index 718e9f8..a297471 100644 --- a/ios-bootstrap/unrestrict-me.c +++ b/ios-bootstrap/unrestrict-me.c @@ -22,9 +22,11 @@ int main(int argc, char **argv) { return 1; } - int sret = substitute_ios_unrestrict((pid_t) pid, should_resume[0] == '1'); + char *err = NULL; + int sret = substitute_ios_unrestrict((pid_t) pid, should_resume[0] == '1', &err); if (sret) { - syslog(LOG_EMERG, "unrestrict-me: substitute_ios_unrestrict => %d", sret); + syslog(LOG_EMERG, "unrestrict-me: substitute_ios_unrestrict => %d (%s)", + sret, err); return 1; } -- cgit v1.2.3