another typo fix in dvb_mux_conf_str_dvbs()

This commit is contained in:
Mariusz Bialonczyk 2015-04-21 14:08:20 +02:00 committed by Jaroslav Kysela
parent 0af90088e3
commit a7cb06cd6b

View 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';
}