From 4d980dfebbc6faf212cf41a09240104118d8889f Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Thu, 28 Jan 2010 01:10:38 +0100 Subject: [PATCH] Whoops, over-eagerly removed a conditional in the STM code Marcan says: WTF. --- loader/ios.c | 1 + 1 file changed, 1 insertion(+) diff --git a/loader/ios.c b/loader/ios.c index 33560aa..e56cc57 100644 --- a/loader/ios.c +++ b/loader/ios.c @@ -243,6 +243,7 @@ static void releasse_old_stm_callback(void) } int err = ios_ioctl(fd, 0x3002, 0, 0, 0, 0); + if (err < 0 && err != -6) printf("Eventhook release failed with code %d\n", err); ios_close(fd); -- 2.25.1