[UBI DBG error] (pid:16998) vol_cdev_read: -74 bytes were read, but with error 2048

Signed-off-by: Timo Lindhorst <lindhors@linux.vnet.ibm.com>
---
 drivers/mtd/ubi/cdev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c
index 2bbcbba..6ec311a 100644
--- a/drivers/mtd/ubi/cdev.c
+++ b/drivers/mtd/ubi/cdev.c
@@ -371,7 +371,7 @@ static ssize_t vol_cdev_read(struct file
 			}
 
 			dbg_err("%d bytes were read, but with error %d",
-				 err, read);
+				read, err);
 			count -= read;
 			*offp += read;
 			break;
-- 
1.4.1



