--- utils/dvb/dvbv5-scan.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/dvb/dvbv5-scan.c b/utils/dvb/dvbv5-scan.c index d785998..d54aa8c 100644 --- a/utils/dvb/dvbv5-scan.c +++ b/utils/dvb/dvbv5-scan.c @@ -548,9 +548,9 @@ int main(int argc, char **argv) parms = dvb_fe_open(args.adapter, args.frontend, verbose, 0); if (!parms) return -1; - if (lnb) + if (lnb >= 0) parms->lnb = get_lnb(lnb); - if (args.sat_number > 0) + if (args.sat_number >= 0) parms->sat_number = args.sat_number % 3; parms->diseqc_wait = args.diseqc_wait; parms->freq_bpf = args.freq_bpf; -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html