shithub: gefs

Download patch

ref: 9a512388c046138529f79f8f8f755b66c46fef4f
parent: eb70af1698f4f4c849ed68672956a4e03c7c01d5
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Dec 16 02:42:15 EST 2023

dump: fix typo

--- a/dump.c
+++ b/dump.c
@@ -31,7 +31,7 @@
 			UNPACK64(k->k+1), k->nk-11, k->k+11);
 		break;
 	case Klabel:	/* name[n] => tree[24]:	snapshot ref */
-		n = fmtprint(fmt, "label name:\"%.*s\"", pk->nk-1, k->k+1);
+		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));