diff options
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-ioctl.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-ioctl.c b/drivers/media/video/ivtv/ivtv-ioctl.c index f00854ad64ea..f5b289ef4103 100644 --- a/drivers/media/video/ivtv/ivtv-ioctl.c +++ b/drivers/media/video/ivtv/ivtv-ioctl.c | |||
@@ -750,7 +750,7 @@ static int ivtv_querycap(struct file *file, void *fh, struct v4l2_capability *vc | |||
750 | 750 | ||
751 | strlcpy(vcap->driver, IVTV_DRIVER_NAME, sizeof(vcap->driver)); | 751 | strlcpy(vcap->driver, IVTV_DRIVER_NAME, sizeof(vcap->driver)); |
752 | strlcpy(vcap->card, itv->card_name, sizeof(vcap->card)); | 752 | strlcpy(vcap->card, itv->card_name, sizeof(vcap->card)); |
753 | strlcpy(vcap->bus_info, pci_name(itv->dev), sizeof(vcap->bus_info)); | 753 | snprintf(vcap->bus_info, sizeof(vcap->bus_info), "PCI:%s", pci_name(itv->dev)); |
754 | vcap->version = IVTV_DRIVER_VERSION; /* version */ | 754 | vcap->version = IVTV_DRIVER_VERSION; /* version */ |
755 | vcap->capabilities = itv->v4l2_cap; /* capabilities */ | 755 | vcap->capabilities = itv->v4l2_cap; /* capabilities */ |
756 | return 0; | 756 | return 0; |