summaryrefslogtreecommitdiff
path: root/drivers/media/usb/gspca/sq930x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/gspca/sq930x.c')
-rw-r--r--drivers/media/usb/gspca/sq930x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/gspca/sq930x.c b/drivers/media/usb/gspca/sq930x.c
index aa9a9411b801..af48bd6dbe8c 100644
--- a/drivers/media/usb/gspca/sq930x.c
+++ b/drivers/media/usb/gspca/sq930x.c
@@ -538,7 +538,7 @@ static void ucbus_write(struct gspca_dev *gspca_dev,
return;
if ((batchsize - 1) * 3 > USB_BUF_SZ) {
- PERR("Bug: usb_buf overflow\n");
+ gspca_err(gspca_dev, "Bug: usb_buf overflow\n");
gspca_dev->usb_err = -ENOMEM;
return;
}