[asterisk-commits] mjordan: branch mjordan/trunk-deadlock r376129 - /team/mjordan/trunk-deadlock...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 9 23:43:19 CST 2012


Author: mjordan
Date: Fri Nov  9 23:43:15 2012
New Revision: 376129

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=376129
Log:
Fix signing errors

Modified:
    team/mjordan/trunk-deadlock/main/asterisk.c
    team/mjordan/trunk-deadlock/main/lock.c

Modified: team/mjordan/trunk-deadlock/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/mjordan/trunk-deadlock/main/asterisk.c?view=diff&rev=376129&r1=376128&r2=376129
==============================================================================
--- team/mjordan/trunk-deadlock/main/asterisk.c (original)
+++ team/mjordan/trunk-deadlock/main/asterisk.c Fri Nov  9 23:43:15 2012
@@ -502,7 +502,7 @@
 	static int first_time = 0;
 
 	if (!first_time) {
-		fprintf(stderr, "First registered thread %lx\n", (unsigned long int)pthread_self());
+		fprintf(stderr, "First registered thread %lx\n", pthread_self());
 		first_time = 1;
 	}
 	if (!new)

Modified: team/mjordan/trunk-deadlock/main/lock.c
URL: http://svnview.digium.com/svn/asterisk/team/mjordan/trunk-deadlock/main/lock.c?view=diff&rev=376129&r1=376128&r2=376129
==============================================================================
--- team/mjordan/trunk-deadlock/main/lock.c (original)
+++ team/mjordan/trunk-deadlock/main/lock.c Fri Nov  9 23:43:15 2012
@@ -1012,8 +1012,8 @@
 		lt->func[0] = func;
 		lt->thread[0] = pthread_self();
 		if (ast_reentrancy_unlock(lt)) {
-			fprintf(stderr, "Original thread ID %ulx\n", lt->thread[0]);
-			fprintf(stderr, "Current thread ID %ulx\n", pthread_self());
+			fprintf(stderr, "Original thread ID %lx\n", lt->thread[0]);
+			fprintf(stderr, "Current thread ID %lx\n", pthread_self());
 			__dump_backtrace(&lt->backtrace[lt->reentrancy], 0);
 			abort();
 		}




More information about the asterisk-commits mailing list