blob: 3ad9b9ebaf2ced405018b78ce5c768c050f7f959 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* 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;
}
|