From 9fed7726d10a2f98639b1ff184234f231ea40d13 Mon Sep 17 00:00:00 2001 From: MelwareDE Date: Thu, 10 Jun 2010 16:38:51 +0000 Subject: [PATCH] Fixed debug messages --- divastreaming/segment_alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/divastreaming/segment_alloc.c b/divastreaming/segment_alloc.c index ab07ea7..caf06dd 100644 --- a/divastreaming/segment_alloc.c +++ b/divastreaming/segment_alloc.c @@ -115,7 +115,7 @@ int diva_create_segment_alloc (void* os_context, struct _diva_segment_alloc** s if (shared_segment_alloc != 0) { shared_segment_alloc_count++; *segment_alloc = shared_segment_alloc; - DBG_LOG(("shared %d segment alloc [%p]", pI, shared_segment_alloc_count)) + DBG_LOG(("shared %d segment alloc [%p]", shared_segment_alloc_count, pI)) return (0); } #endif @@ -167,7 +167,7 @@ int diva_destroy_segment_alloc (struct _diva_segment_alloc** segment_alloc) { if (shared_segment_alloc_count > 0) { if (segment_alloc != 0) *segment_alloc = 0; - DBG_LOG(("unshare %d segment alloc [%p]", segment_alloc, shared_segment_alloc_count)) + DBG_LOG(("unshare %d segment alloc [%p]", shared_segment_alloc_count, segment_alloc)) return (0); } #endif