Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68510
b: refs/heads/master
c: 68d09b1
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and David Woodhouse committed Aug 22, 2007
1 parent c27ac31 commit 865524f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f4e35647f5c0ac24ca1ba14f84bf817ec0483b72
refs/heads/master: 68d09b1b6780415d82160f6b6d88e82bd724e691
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/mtdoops.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static int mtdoops_inc_counter(struct mtdoops_context *cxt)
ret = mtd->read(mtd, cxt->nextpage * OOPS_PAGE_SIZE, 4,
&retlen, (u_char *) &count);
if ((retlen != 4) || (ret < 0)) {
printk(KERN_ERR "mtdoops: Read failure at %d (%d of 4 read)"
printk(KERN_ERR "mtdoops: Read failure at %d (%td of 4 read)"
", err %d.\n", cxt->nextpage * OOPS_PAGE_SIZE,
retlen, ret);
return 1;
Expand Down Expand Up @@ -273,7 +273,7 @@ static void mtdoops_console_sync(void)
cxt->writecount = 0;

if ((retlen != OOPS_PAGE_SIZE) || (ret < 0))
printk(KERN_ERR "mtdoops: Write failure at %d (%d of %d written), err %d.\n",
printk(KERN_ERR "mtdoops: Write failure at %d (%td of %d written), err %d.\n",
cxt->nextpage * OOPS_PAGE_SIZE, retlen, OOPS_PAGE_SIZE, ret);

ret = mtdoops_inc_counter(cxt);
Expand Down

0 comments on commit 865524f

Please sign in to comment.