Output decoded ioctl command number.

This commit is contained in:
Florian Pose 2008-06-10 08:54:54 +00:00
parent 6249f1dd91
commit ded661f552
1 changed files with 2 additions and 2 deletions

View File

@ -137,8 +137,8 @@ long eccdev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
long retval = 0;
if (master->debug_level)
EC_DBG("ioctl(filp = %x, cmd = %u, arg = %x)\n",
(u32) filp, (u32) cmd, (u32) arg);
EC_DBG("ioctl(filp = %x, cmd = %u (%u), arg = %x)\n",
(u32) filp, (u32) cmd, (u32) _IOC_NR(cmd), (u32) arg);
// FIXME lock