aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/dvb/bt8xx/dst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/bt8xx/dst.c b/drivers/media/dvb/bt8xx/dst.c
index 52cbe150077d..68db48bf89f4 100644
--- a/drivers/media/dvb/bt8xx/dst.c
+++ b/drivers/media/dvb/bt8xx/dst.c
@@ -825,7 +825,7 @@ static int dst_card_type(struct dst_state *state)
825 return -1; 825 return -1;
826 } 826 }
827 memset(&state->card_info, '\0', 8); 827 memset(&state->card_info, '\0', 8);
828 memcpy(&state->card_info, &state->rxbuffer, 8); 828 memcpy(&state->card_info, &state->rxbuffer, 7);
829 dprintk(verbose, DST_ERROR, 1, "Device Model=[%s]", &state->card_info[0]); 829 dprintk(verbose, DST_ERROR, 1, "Device Model=[%s]", &state->card_info[0]);
830 830
831 return 0; 831 return 0;
@@ -840,7 +840,7 @@ static int dst_get_vendor(struct dst_state *state)
840 return -1; 840 return -1;
841 } 841 }
842 memset(&state->vendor, '\0', 8); 842 memset(&state->vendor, '\0', 8);
843 memcpy(&state->vendor, &state->rxbuffer, 8); 843 memcpy(&state->vendor, &state->rxbuffer, 7);
844 dprintk(verbose, DST_ERROR, 1, "Vendor=[%s]", &state->vendor[0]); 844 dprintk(verbose, DST_ERROR, 1, "Vendor=[%s]", &state->vendor[0]);
845 845
846 return 0; 846 return 0;