diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index 819da7c85f8..c9c73bfafda 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -1860,7 +1860,7 @@ g_md_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp,
sbuf_printf(sb, "%s%s\n", indent,
type);
if ((mp->type == MD_VNODE && mp->vnode != NULL) ||
- (mp->type == MD_PRELOAD && mp->file[0] != '\0'))
+ (mp->type == MD_PRELOAD && mp->file[0] != '\0')) {
sbuf_printf(sb, "%s", indent);
g_conf_printf_escaped(sb, "%s", mp->file);
sbuf_printf(sb, "\n");