summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/boot/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/stand/boot/conf.c')
-rw-r--r--sys/arch/i386/stand/boot/conf.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/boot/conf.c b/sys/arch/i386/stand/boot/conf.c
index c3520f05e4d..9e5d01109b5 100644
--- a/sys/arch/i386/stand/boot/conf.c
+++ b/sys/arch/i386/stand/boot/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.72 2019/10/29 02:55:51 deraadt Exp $ */
+/* $OpenBSD: conf.c,v 1.73 2020/03/21 14:54:06 otto Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
@@ -30,6 +30,7 @@
#include <netinet/in.h>
#include <libsa.h>
#include <lib/libsa/ufs.h>
+#include <lib/libsa/ufs2.h>
#ifdef notdef
#include <lib/libsa/cd9660.h>
#include <lib/libsa/fat.h>
@@ -41,7 +42,7 @@
#include <dev/cons.h>
#include "debug.h"
-const char version[] = "3.40";
+const char version[] = "3.41";
int debug = 1;
@@ -66,6 +67,10 @@ int nibprobes = nitems(probe_list);
struct fs_ops file_system[] = {
{ ufs_open, ufs_close, ufs_read, ufs_write, ufs_seek,
ufs_stat, ufs_readdir, ufs_fchmod },
+#ifndef FDBOOT
+ { ufs2_open, ufs2_close, ufs2_read, ufs2_write, ufs2_seek,
+ ufs2_stat, ufs2_readdir, ufs2_fchmod },
+#endif
#ifdef notdef
{ fat_open, fat_close, fat_read, fat_write, fat_seek,
fat_stat, fat_readdir },