From: Segher Boessenkool Date: Thu, 28 Jan 2010 00:10:38 +0000 (+0100) Subject: Whoops, over-eagerly removed a conditional in the STM code X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=savezelda.git;a=commitdiff_plain;h=4d980dfebbc6faf212cf41a09240104118d8889f;ds=sidebyside Whoops, over-eagerly removed a conditional in the STM code Marcan says: WTF. --- 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);