shithub: gefs

Download patch

ref: 0a951c125346c524c02bbe03b9541ced9464046f
parent: 7a5e73256874bbdaea70aac5074d21e502e3cedc
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Nov 4 20:59:50 EDT 2023

load: print correct label for users

--- a/load.c
+++ b/load.c
@@ -115,7 +115,7 @@
 	fprint(2, "\tblocksize:\t%lld\n", Blksz);
 	fprint(2, "\tcachesz:\t%lld MiB\n", fs->cmax*Blksz/MiB);
 	if((t = opensnap("adm", nil)) == nil)
-		sysfatal("load users: no main label");
+		sysfatal("load users: no adm label");
 	if((e = loadusers(2, t)) != nil)
 		sysfatal("load users: %s\n", e);
 	closesnap(t);