Skip to contentSkip to conversation

UBI: fix argument order of dbg_err() call

PATCH In review Timo Lindhorst 2 participants 2 messages Jan 23, 2007 – Jan 24, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 UBI: fix argument order of dbg_err() call

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

---
 drivers/mtd/ubi/cdev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/ubi/cdev.c +1 -1
index 2bbcbba..6ec311a 100644
@@ -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;
Signature · 1 line
1.4.1
#1 lore raw
Quoted 2 lines · Timo Lindhorst

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

Thanks!

Signature · 2 lines
Best regards,
Artem Bityutskiy (Битюцкий Артём)