blob: 4d0e652d1fdf68066b94e7aecf43fb9f29dc6145 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* This file is part of uio_usbdebug */
/* SPDX-License-Identifier: GPL-2.0-only */
#include <stdio.h>
#include <stdarg.h>
#include <console/console.h>
int do_printk(int msg_level, const char *const fmt, ...)
{
va_list args;
int i;
va_start(args, fmt);
i = vfprintf(stderr, fmt, args);
va_end(args);
return i;
}
|