shithub: purgatorio

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