Subversion Repositories planix.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include <u.h>
2
#include <libc.h>
3
#include <venti.h>
4
 
5
void
6
vtdebug(VtConn *z, char *fmt, ...)
7
{
8
	va_list arg;
9
 
10
	if(z->debug == 0)
11
		return;
12
 
13
	va_start(arg, fmt);
14
	vfprint(2, fmt, arg);
15
	va_end(arg);
16
}
17