summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cfs
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-01-07 04:44:13 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2016-01-07 04:44:13 +0100
commit772afbe98c7e74be35e7e5318967ce594e4d93e8 (patch)
tree006ef64214c4ab980ff3125ea812f42235706b5b /sys/src/cmd/cfs
parent9c99d0c8d3236b87bd292ac29d4d1b2d5f550bd5 (diff)
format pointer subtraction results with %zd instead of %ld (for long -> intptr on amd64)
Diffstat (limited to 'sys/src/cmd/cfs')
-rw-r--r--sys/src/cmd/cfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/cfs/inode.c b/sys/src/cmd/cfs/inode.c
index 8b72a2742..cb551160f 100644
--- a/sys/src/cmd/cfs/inode.c
+++ b/sys/src/cmd/cfs/inode.c
@@ -225,7 +225,7 @@ iget(Icache *ic, Qid qid)
/*
* init inode and write to disk
*/
- DPRINT(2, "new file %llud.%ld ino %ld\n",
+ DPRINT(2, "new file %llud.%ld ino %zd\n",
qid.path, qid.vers, m - ic->map);
b = ialloc(ic, m - ic->map);
b->inode.inuse = m->inuse = 1;