aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/media/dvb/frontends/stb0899_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c
index 3468f59ecec..420dea120ad 100644
--- a/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/drivers/media/dvb/frontends/stb0899_drv.c
@@ -1277,8 +1277,8 @@ int stb0899_get_dev_id(struct stb0899_state *state)
u8 chip_id, release;
u16 id;
u32 demod_ver = 0, fec_ver = 0;
- char demod_str[4] = { 0 };
- char fec_str[4] = { 0 };
+ char demod_str[5] = { 0 };
+ char fec_str[5] = { 0 };
id = stb0899_read_reg(state, STB0899_DEV_ID);
dprintk(state->verbose, FE_DEBUG, 1, "ID reg=[0x%02x]", id);