]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
another typo fix in dvb_mux_conf_str_dvbs()
authorMariusz Bialonczyk <manio@skyboo.net>
Tue, 21 Apr 2015 12:08:20 +0000 (14:08 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 21 Apr 2015 12:19:38 +0000 (14:19 +0200)
src/input/mpegts/dvb_support.c

index 0f5cbd57c159038ed5453b08b0fcda028ad8f317..d7d2bcb0f2baf6a6e1e829850ede86a21a5dd9c6 100644 (file)
@@ -827,7 +827,7 @@ dvb_mux_conf_str_dvbs ( dvb_mux_conf_t *dmc, char *buf, size_t bufsize )
   const int satpos = dmc->u.dmc_fe_qpsk.orbital_pos;
   char satbuf[16];
   if (satpos != INT_MAX) {
-    snprintf(satbuf, sizeof(satpos), "%d.%d%c ", abs(satpos) / 10, abs(satpos) % 10, satpos < 0 ? 'W' : 'E');
+    snprintf(satbuf, sizeof(satbuf), "%d.%d%c ", abs(satpos) / 10, abs(satpos) % 10, satpos < 0 ? 'W' : 'E');
   } else {
     satbuf[0] = '\0';
   }