ref: d80d5c21b0894167ebecaa2b583fbddbb3800b92
parent: 9a512388c046138529f79f8f8f755b66c46fef4f
author: Ori Bernstein <[email protected]>
date: Sat Dec 16 12:25:52 EST 2023
dump: actually, I like lld more
--- a/dump.c
+++ b/dump.c
@@ -34,13 +34,13 @@
n = fmtprint(fmt, "label name:\"%.*s\"", k->nk-1, k->k+1);
break;
case Ksnap: /* name[n] => tree[24]: snapshot root */
- n = fmtprint(fmt, "snap id:%llx", UNPACK64(k->k+1));
+ n = fmtprint(fmt, "snap id:%lld", UNPACK64(k->k+1));
break;
case Kup: /* qid[8] => pqid[8]: parent dir */
n = fmtprint(fmt, "up dir:%llx", UNPACK64(k->k+1));
break;
case Kdlist:
- n = fmtprint(fmt, "dlist gen:%llx, bgen:%llx",
+ n = fmtprint(fmt, "dlist gen:%lld, bgen:%lld",
UNPACK64(k->k+1), UNPACK64(k->k+9));
break;
default:
@@ -154,7 +154,7 @@
}
break;
case Klabel:
- n = fmtprint(fmt, "snap id:%llx", UNPACK64(v->v+1));
+ n = fmtprint(fmt, "snap id:%lld", UNPACK64(v->v+1));
break;
case Kup: /* qid[8] => pqid[8]: parent dir */
n = fmtprint(fmt, "super dir:%llx, name:\"%.*s\")",