code: 9ferno

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