code: 9ferno

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