/* * errstr.c * dspic * * Copyright (c) 2010 Corpus Callosum Corporation. All rights reserved. * */ #include #include #include "lev_board.h" void werrstr(char *fmt, ...) { va_list arg; va_start(arg, fmt); vseprint(board.linebuf, board.linebuf+board.linebuflen, fmt, arg); va_end(arg); console(board.linebuf); }