aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-02-23 14:35:16 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-02-23 14:36:14 +0100
commit2c9d6d9b95107fba36ac29426a5893f3bfe6f8fd (patch)
tree81f0a0d46d9bc9375da5be6383821e95cbdb3efe
parentda2c8fa2e29831f7729c1025ba54df0039a3f895 (diff)
dvb-file: fix one-line output with default values
The current logic is broken for default values, due to a misplaced '}'. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r--lib/libdvbv5/dvb-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdvbv5/dvb-file.c b/lib/libdvbv5/dvb-file.c
index 7bc8ea97..ca84866d 100644
--- a/lib/libdvbv5/dvb-file.c
+++ b/lib/libdvbv5/dvb-file.c
@@ -553,9 +553,9 @@ int dvb_write_format_oneline(const char *fname,
}
} else {
data = entry->props[j].u.data;
+ }
fprintf(fp, "%d", data);
- }
break;
}
}

Privacy Policy