shithub: riscv

ref: 3b1e582fc6dc1904a28b1cf71ea0b7e1c47f3f35
dir: /sys/src/liboventi/errfmt.c/

View raw version
#include <u.h>
#include <libc.h>
#include <oventi.h>

int
vtErrFmt(Fmt *f)
{
	char *s;

	s = vtGetError();
	return fmtstrcpy(f, s);
}