aboutsummaryrefslogtreecommitdiff
path: root/ios-bootstrap/unrestrict-me.c
diff options
context:
space:
mode:
Diffstat (limited to 'ios-bootstrap/unrestrict-me.c')
-rw-r--r--ios-bootstrap/unrestrict-me.c6
1 files changed, 4 insertions, 2 deletions
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;
}