diff --git a/libavformat/cache.c b/libavformat/cache.c
index 9d1b4b97e4817b8ca6c478d8919abcdc26ffacc2..ac9a8d2279181f6f0877c977202427b1f4de00bc 100644
--- a/libavformat/cache.c
+++ b/libavformat/cache.c
@@ -201,7 +201,7 @@ static int64_t cache_seek(URLContext *h, int64_t pos, int whence)
         if(pos <= 0){
             pos= ffurl_seek(c->inner, -1, SEEK_END);
             if (ffurl_seek(c->inner, c->inner_pos, SEEK_SET) < 0)
-                av_log(h, AV_LOG_ERROR, "Inner protocol failed to seekback\n");
+                av_log(h, AV_LOG_ERROR, "Inner protocol failed to seekback end : %"PRId64"\n", pos);
         }
         if (pos > 0)
             c->is_true_eof = 1;