code: 9ferno

ref: e16b4d85dd6b1cf14834387b765113114dabeae2
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 "???";
}