fix typo in dvb_mux_conf_str_dvbs()
This commit is contained in:
parent
6b472cd999
commit
1ca7ed5e89
1 changed files with 1 additions and 1 deletions
|
@ -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(buf), "%d.%d%c ", abs(satpos) / 10, abs(satpos) % 10, satpos < 0 ? 'W' : 'E');
|
||||
snprintf(satbuf, sizeof(satpos), "%d.%d%c ", abs(satpos) / 10, abs(satpos) % 10, satpos < 0 ? 'W' : 'E');
|
||||
} else {
|
||||
satbuf[0] = '\0';
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue