Przeglądaj źródła

V4L/DVB (13879): dvb_frontend: report what ioctl were called on debug mode

When printing that an iocl were called, report the ioctl number.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab 15 lat temu
rodzic
commit
fb8253baa0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      drivers/media/dvb/dvb-core/dvb_frontend.c

+ 1 - 1
drivers/media/dvb/dvb-core/dvb_frontend.c

@@ -1488,7 +1488,7 @@ static int dvb_frontend_ioctl(struct inode *inode, struct file *file,
 	struct dvb_frontend_private *fepriv = fe->frontend_priv;
 	int err = -EOPNOTSUPP;
 
-	dprintk ("%s\n", __func__);
+	dprintk("%s (%d)\n", __func__, _IOC_NR(cmd));
 
 	if (fepriv->exit)
 		return -ENODEV;