[m-rev.] trivial diff: add a missing argument
Julien Fischer
juliensf at csse.unimelb.edu.au
Tue Jun 1 12:34:31 AEST 2010
runtime/mercury_thread.c:
Add a missing arugment to a call to fprintf.
Julien.
Index: mercury_thread.c
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/runtime/mercury_thread.c,v
retrieving revision 1.42
diff -u -r1.42 mercury_thread.c
--- mercury_thread.c 31 May 2010 09:41:47 -0000 1.42
+++ mercury_thread.c 1 Jun 2010 02:33:06 -0000
@@ -300,7 +300,8 @@
fprintf(stderr, "%ld timed-waiting on cond: %p lock: %p (%s)\n",
(long)pthread_self(), cond, lock, from);
err = pthread_cond_timedwait(cond, lock, abstime);
- fprintf(stderr, "%ld timed-wait returned %d\n", err);
+ fprintf(stderr, "%ld timed-wait returned %d\n",
+ (long)pthread_self(), err);
return err;
}
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list