void dprint(int debug, char *fmt, ...) { va_list ap; USED(fmt); if(debug > 0) { va_start(ap, fmt); vfprint(2, fmt, ap); va_end(ap); } }