register a complaint against a specific device when encountering a partition i/o error Reference: /n/atom/patch/applied/fspartfailmsg Date: Mon Apr 14 07:18:33 CES 2014 Signed-off-by: quanstro@quanstro.net --- /sys/src/fs/dev/part.c Mon Apr 14 07:18:07 2014 +++ /sys/src/fs/dev/part.c Mon Apr 14 07:18:08 2014 @@ -477,7 +477,7 @@ { if(b < d->part.size) return devread(d->part.d, d->part.base+b, c); - print("partread %llud %llud\n", (Wideoff)b, d->part.size); + print("partread %Z %llud %llud\n", d, (Wideoff)b, d->part.size); return 1; } @@ -486,7 +486,7 @@ { if(b < d->part.size) return devwrite(d->part.d, d->part.base+b, c); - print("partwrite %llud %llud\n", (Wideoff)b, d->part.size); + print("partwrite %Z %llud %llud\n", d, (Wideoff)b, d->part.size); return 1; }