code: 9ferno

ref: 410c1337e07a9f1d521360a160903fe32b4e0d4a
dir: /liblogfs/tagname.c/

View raw version
#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 "???";
}