diff options
author | monty@mysql.com <> | 2004-08-23 13:46:51 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2004-08-23 13:46:51 +0300 |
commit | 309d691e65ae9953f637bda88d24672537ddf6d0 (patch) | |
tree | 31ceb8889afc4b529a25bc930d8aa8a41d83ceb2 /mysys/thr_alarm.c | |
parent | 84d9b862f6619c74de00349e9398f11ec6409d10 (diff) | |
download | mariadb-git-309d691e65ae9953f637bda88d24672537ddf6d0.tar.gz |
Changed %lx -> 0x%lx (for easier comparison of debug files)
Cosmetic cleanups
Don't call 'delete_elements' on copy_funcs as this causes elements to be freed twice
Diffstat (limited to 'mysys/thr_alarm.c')
-rw-r--r-- | mysys/thr_alarm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/thr_alarm.c b/mysys/thr_alarm.c index 84a8e779ae1..caef1caaf3d 100644 --- a/mysys/thr_alarm.c +++ b/mysys/thr_alarm.c @@ -257,9 +257,9 @@ void thr_end_alarm(thr_alarm_t *alarmed) if (!found) { if (*alarmed) - fprintf(stderr,"Warning: Didn't find alarm %lx in queue of %d alarms\n", + fprintf(stderr,"Warning: Didn't find alarm 0x%lx in queue of %d alarms\n", (long) *alarmed, alarm_queue.elements); - DBUG_PRINT("warning",("Didn't find alarm %lx in queue\n", + DBUG_PRINT("warning",("Didn't find alarm 0x%lx in queue\n", (long) *alarmed)); } pthread_mutex_unlock(&LOCK_alarm); |