aboutsummaryrefslogtreecommitdiff
path: root/src/error.c
blob: b3f2eb0e144756b9e8b30672870ab395815bfa47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <u.h>

void 
errorf(const byte* fmt, ...)
{
    va_list args;
    va_start(args, fmt);

    printf("error: ");
    vprintf(fmt, args);
    printf("\n");

    va_end(args);
}