summaryrefslogtreecommitdiff
path: root/liblogfs/tagname.c
blob: c36174f3bbf2d124c6efcc30b7c2c905a01c6fcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "logfsos.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 "???";
}