summaryrefslogtreecommitdiff
path: root/sys/src/cmd/hjfs/fs1.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2022-11-01 11:27:51 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2022-11-01 11:27:51 +0000
commitbada52183c0c61226e82784c307c564533d4fa26 (patch)
tree015fe8d98f24e3a5618712d5d690a221a279b07c /sys/src/cmd/hjfs/fs1.c
parent464817ecf1a2d1486d7c265415e404a3c9298ee5 (diff)
hjfs: check and fix print format errors
Diffstat (limited to 'sys/src/cmd/hjfs/fs1.c')
-rw-r--r--sys/src/cmd/hjfs/fs1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/hjfs/fs1.c b/sys/src/cmd/hjfs/fs1.c
index b53fc4031..f5c74147b 100644
--- a/sys/src/cmd/hjfs/fs1.c
+++ b/sys/src/cmd/hjfs/fs1.c
@@ -654,7 +654,7 @@ found:
if(rc < 0)
goto end;
if(rc == 0){
- dprint("getblk: block %lld has refcount 0\n");
+ dprint("getblk: block %lld has refcount 0\n", *loc);
werrstr("phase error -- getblk");
rc = -1;
goto end;