summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2004-06-22 14:28:33 +0000
committerMichael Hunold <devnull@localhost>2004-06-22 14:28:33 +0000
commit6ba0017e22b4e803214287798cea7727c77a09a7 (patch)
tree9e964935173fe1b904206902fc4db620801131ca /linux/drivers/media/dvb/ttpci
parent337821723545ff1ac2823d33e13d660bb279b406 (diff)
downloadmediapointer-dvb-s2-6ba0017e22b4e803214287798cea7727c77a09a7.tar.gz
mediapointer-dvb-s2-6ba0017e22b4e803214287798cea7727c77a09a7.tar.bz2
- fix size supplied to strlcpy()
Diffstat (limited to 'linux/drivers/media/dvb/ttpci')
-rw-r--r--linux/drivers/media/dvb/ttpci/budget-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-core.c b/linux/drivers/media/dvb/ttpci/budget-core.c
index c37353e19..b121742f7 100644
--- a/linux/drivers/media/dvb/ttpci/budget-core.c
+++ b/linux/drivers/media/dvb/ttpci/budget-core.c
@@ -330,8 +330,8 @@ int ttpci_budget_init (struct budget *budget,
.class = I2C_CLASS_TV_DIGITAL,
#endif
};
- strlcpy(budget->i2c_adap.name, budget->card->name, sizeof(budget->card->name));
-
+
+ strlcpy(budget->i2c_adap.name, budget->card->name, sizeof(budget->i2c_adap.name));
saa7146_i2c_adapter_prepare(dev, &budget->i2c_adap, SAA7146_I2C_BUS_BIT_RATE_120);