shithub: gefs

Download patch

ref: b545c1eb75c29df1aef07babbaaa2cc749510630
parent: 73c79144626a3f34a719f920845de2982cf52ce0
author: Michael Forney <mforney@mforney.org>
date: Mon Feb 14 06:52:56 EST 2022

dump: make snap tree identifier match help text

--- a/dump.c
+++ b/dump.c
@@ -291,7 +291,7 @@
 	memset(&t, 0, sizeof(t));
 	if(na == 1)
 		name = ap[0];
-	if(strcmp(name, "dump") == 0)
+	if(strcmp(name, "snap") == 0)
 		t = &fs->snap;
 	else if((t = openlabel(name)) == nil){
 		fprint(fd, "open %s: %r\n", name);