aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/venti
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2011-11-08 09:02:28 -0500
committerRuss Cox <rsc@swtch.com>2011-11-08 09:02:28 -0500
commit36c242dd868672ae9c6705622ef1e7dbb84dbbac (patch)
tree4eba2a8dbc55dddba2ee3b4660b4cbcadcc76ffd /src/cmd/venti
parent11758776a1be725491395b59d52074e7f6fb6f82 (diff)
downloadplan9port-36c242dd868672ae9c6705622ef1e7dbb84dbbac.tar.gz
plan9port-36c242dd868672ae9c6705622ef1e7dbb84dbbac.tar.bz2
plan9port-36c242dd868672ae9c6705622ef1e7dbb84dbbac.zip
venti: fix format on ulong
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5328046
Diffstat (limited to 'src/cmd/venti')
-rw-r--r--src/cmd/venti/dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/venti/dump.c b/src/cmd/venti/dump.c
index 44f13e06..212e2117 100644
--- a/src/cmd/venti/dump.c
+++ b/src/cmd/venti/dump.c
@@ -50,7 +50,7 @@ dump(int indent, uchar *score, int type)
Bprint(&bout, "%.*serror unpacking root %V: %r\n", indent*4, spaces, score);
goto out;
}
- Bprint(&bout, "%.*s%V root name=%s type=%s prev=%V bsize=%d\n",
+ Bprint(&bout, "%.*s%V root name=%s type=%s prev=%V bsize=%ld\n",
indent*4, spaces, score, root.name, root.type, root.prev, root.blocksize);
dump(indent+1, root.score, VtDirType);
break;
@@ -62,7 +62,7 @@ dump(int indent, uchar *score, int type)
Bprint(&bout, "%.*s%d: cannot unpack\n", indent+1, spaces, i);
continue;
}
- Bprint(&bout, "%.*s%d: gen=%#lux psize=%d dsize=%d type=%d flags=%#x size=%llud score=%V\n",
+ Bprint(&bout, "%.*s%d: gen=%#lux psize=%ld dsize=%ld type=%d flags=%#x size=%llud score=%V\n",
(indent+1)*4, spaces, i, e.gen, e.psize, e.dsize, e.type, e.flags, e.size, e.score);
dump(indent+2, e.score, e.type);
}