blob: e0452e48d5363f4a4eb179acaafc933594af5b6b [file] [log] [blame]
rsc056fe1b2003-11-23 18:19:58 +00001#include <u.h>
2#include <libc.h>
3#include <venti.h>
4
5void
6vtdebug(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