From a1e8ac1dda66416afeb26991ba76ee9bdd4365de Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Tue, 3 Jul 2012 12:13:20 +0100 Subject: [PATCH] Fix printing format error, this results in NULL channel names on x86 32bit and crashes on ARM. Fixes #33. --- src/epg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/epg.c b/src/epg.c index 1c7857eb..2c4ba80d 100644 --- a/src/epg.c +++ b/src/epg.c @@ -1017,7 +1017,7 @@ static void _epg_channel_timer_callback ( void *p ) /* Expire */ if ( ebc->stop <= dispatch_clock ) { RB_REMOVE(&ch->ch_epg_schedule, ebc, sched_link); - tvhlog(LOG_DEBUG, "epg", "expire event %"PRItime_t" from %s", + tvhlog(LOG_DEBUG, "epg", "expire event %"PRIu64" from %s", ebc->id, ch->ch_name); ebc->putref((epg_object_t*)ebc); continue; // skip to next