Kent Overstreet dae984cf38 Update bcachefs sources to 8efd93eb2d0f bcachefs: Fix replicas max options
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-12 19:49:41 -04:00

21 lines
330 B
C

#include <stdarg.h>
#include <stdio.h>
static inline const char *real_fmt(const char *fmt)
{
return fmt[0] == '\001' ? fmt + 2 : fmt;
}
void vprintk(const char *fmt, va_list args)
{
vprintf(real_fmt(fmt), args);
}
void printk(const char *fmt, ...)
{
va_list args;
va_start(args, fmt);
vprintk(fmt, args);
va_end(args);
}