merge -c1605 branches/stable-1.4: Output ioctl() debugging in hex.
authorFlorian Pose <fp@igh-essen.com>
Mon, 26 Jan 2009 11:46:02 +0000
changeset 1328 00c0e0ecd2c4
parent 1327 4d179b06dd3c
child 1329 379e60baa5be
merge -c1605 branches/stable-1.4: Output ioctl() debugging in hex.
master/cdev.c
--- a/master/cdev.c	Mon Jan 26 11:45:30 2009 +0000
+++ b/master/cdev.c	Mon Jan 26 11:46:02 2009 +0000
@@ -2452,7 +2452,7 @@
     ec_master_t *master = priv->cdev->master;
 
     if (master->debug_level)
-        EC_DBG("ioctl(filp = %x, cmd = %u (%u), arg = %x)\n",
+        EC_DBG("ioctl(filp = 0x%x, cmd = 0x%x (0x%x), arg = 0x%x)\n",
                 (u32) filp, (u32) cmd, (u32) _IOC_NR(cmd), (u32) arg);
 
     switch (cmd) {