blob: 7fa1f2ea6dbcdb2dbfcbd9f4708be80fb9c3568c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <lib9.h>
void
werrstr(char *fmt, ...)
{
va_list arg;
char buf[ERRMAX];
va_start(arg, fmt);
vseprint(buf, buf+ERRMAX, fmt, arg);
va_end(arg);
errstr(buf, ERRMAX);
}
|