From: Jaroslav Kysela Date: Wed, 30 Dec 2015 17:38:33 +0000 (+0100) Subject: timeshift: fix the obvious printf type mismatch X-Git-Tag: v4.2.1~1267 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f069c75ea80c20d2f9de8c10a9bd3b075978bb5;p=thirdparty%2Ftvheadend.git timeshift: fix the obvious printf type mismatch --- diff --git a/src/timeshift/timeshift_filemgr.c b/src/timeshift/timeshift_filemgr.c index 56f347eb6..7214c8646 100644 --- a/src/timeshift/timeshift_filemgr.c +++ b/src/timeshift/timeshift_filemgr.c @@ -75,7 +75,8 @@ static void* timeshift_reaper_callback ( void *p ) tvhlog(LOG_ERR, "timeshift", "failed to remove %s [e=%s]", dpath, strerror(errno)); } else { - tvhtrace("timeshift", "remove RAM segment (time %"PRItime_t", size %"PRId64")", tsf->time, (int64_t)tsf->size); + tvhtrace("timeshift", "remove RAM segment (time %"PRId64", size %"PRId64")", + tsf->time, (int64_t)tsf->size); } /* Free memory */ @@ -185,7 +186,8 @@ void timeshift_filemgr_remove if (tsf->path) tvhdebug("timeshift", "ts %d remove %s (size %"PRId64")", ts->id, tsf->path, (int64_t)tsf->size); else - tvhdebug("timeshift", "ts %d RAM segment remove time %"PRItime_t" (size %"PRId64", alloc size %"PRId64")", ts->id, tsf->time, (int64_t)tsf->size, (int64_t)tsf->ram_size); + tvhdebug("timeshift", "ts %d RAM segment remove time %"PRId64" (size %"PRId64", alloc size %"PRId64")", + ts->id, tsf->time, (int64_t)tsf->size, (int64_t)tsf->ram_size); } TAILQ_REMOVE(&ts->files, tsf, link); atomic_dec_u64(×hift_total_size, tsf->size); diff --git a/src/timeshift/timeshift_reader.c b/src/timeshift/timeshift_reader.c index 3afd507a0..d9e2c6ef7 100644 --- a/src/timeshift/timeshift_reader.c +++ b/src/timeshift/timeshift_reader.c @@ -538,7 +538,7 @@ static void timeshift_trace_pkt th_pkt_t *pkt = sm->sm_data; tvhtrace("timeshift", "ts %d pkt out - stream %d type %c pts %10"PRId64 - " dts %10"PRId64 " dur %10d len %6zu time %14"PRItime_t, + " dts %10"PRId64 " dur %10d len %6zu time %14"PRId64, ts->id, pkt->pkt_componentindex, pkt_frametype_to_char(pkt->pkt_frametype),