// SPDX-License-Identifier: GPL-2.0 /* * linux/fs/apfs/message.c * * Copyright (C) 2018 Ernesto A. Fernández */ #include #include "message.h" void apfs_msg(struct super_block *sb, const char *prefix, const char *fmt, ...) { struct va_format vaf; va_list args; va_start(args, fmt); vaf.fmt = fmt; vaf.va = &args; printk("%sAPFS (%s): %pV\n", prefix, sb->s_id, &vaf); va_end(args); }