]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
subcription: fix the warning
authorJaroslav Kysela <perex@perex.cz>
Wed, 2 Jul 2014 15:41:03 +0000 (17:41 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 2 Jul 2014 15:41:03 +0000 (17:41 +0200)
src/subscriptions.c

index d437100e7768da3e32abbeab2a6c409c4553ac17..b6582a6361965c7234a01f298d0ba3e3deca78a3 100644 (file)
@@ -405,7 +405,7 @@ subscription_unsubscribe(th_subscription_t *s)
              s->ths_username ?: "<N/A>",
              s->ths_client   ?: "<N/A>");
   }
-  tvhlog(LOG_INFO, "subscription", buf);
+  tvhlog(LOG_INFO, "subscription", "%s", buf);
 
   if(t)
     service_remove_subscriber(t, s, SM_CODE_OK);