summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/ether82563.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-09-02 21:57:10 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-09-02 21:57:10 +0200
commitd32c8fc79a9b55a4fd6b1fdd3b0d7ea6efa27a24 (patch)
tree01d800e516f3e1a9bd434dfb4ed80642bee866a1 /sys/src/9/pc/ether82563.c
parentef4d3bb98e1fd7839c2961ea9f683b6944721770 (diff)
ether82563: fix format string error
Diffstat (limited to 'sys/src/9/pc/ether82563.c')
-rw-r--r--sys/src/9/pc/ether82563.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/pc/ether82563.c b/sys/src/9/pc/ether82563.c
index f3854669e..80e215bea 100644
--- a/sys/src/9/pc/ether82563.c
+++ b/sys/src/9/pc/ether82563.c
@@ -1657,7 +1657,7 @@ eeread(Ctlr *ctlr, int adr)
while ((csr32r(ctlr, Eerd) & EEdone) == 0 && timeout--)
microdelay(5);
if (timeout < 0) {
- print("%s: eeread timeout.\n", cname(ctlr));
+ print("%s: eeread timeout\n", cname(ctlr));
return -1;
}
return (csr32r(ctlr, Eerd) >> 16) & 0xffff;
@@ -1717,7 +1717,7 @@ fread(Ctlr *c, Flash *f, int ladr)
while((f->reg[Fsts] & Fdone) == 0 && timeout--)
microdelay(5);
if(timeout < 0){
- print("%s: fread timeout.\n");
+ print("%s: fread timeout\n", cname(c));
return -1;
}
if(f->reg[Fsts] & (Fcerr|Ael))