From 37da2899f40661e3e9631e497da8dc59b971cbd0 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 22 Dec 2006 17:07:39 +0000 Subject: 20060303a --- liblogfs/tagname.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 liblogfs/tagname.c (limited to 'liblogfs/tagname.c') diff --git a/liblogfs/tagname.c b/liblogfs/tagname.c new file mode 100644 index 00000000..88713c3d --- /dev/null +++ b/liblogfs/tagname.c @@ -0,0 +1,20 @@ +#include "lib9.h" +#include "logfs.h" +#include "local.h" + +char * +logfstagname(uchar tag) +{ + switch(tag) { + case LogfsTboot: + return "boot"; + case LogfsTnone: + return "free"; + case LogfsTlog: + return "log"; + case LogfsTdata: + return "data"; + } + return "???"; +} + -- cgit v1.2.3