diff options
author | 1997-05-12 22:43:55 +0000 | |
---|---|---|
committer | 1997-05-12 22:43:55 +0000 | |
commit | 8587889a78c9a737e7a9c5b7e0e34873309b693d (patch) | |
tree | 27a104c27b22ff8e9b02105d23ed940ff72c4543 /sys/kern/subr_disk.c | |
parent | Don't link with -lcrypt unless needed [stopgap measure for now] (diff) | |
download | wireguard-openbsd-8587889a78c9a737e7a9c5b7e0e34873309b693d.tar.xz wireguard-openbsd-8587889a78c9a737e7a9c5b7e0e34873309b693d.zip |
for miniroot, translate swap to ffs
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r-- | sys/kern/subr_disk.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index 753036c5e8a..1014119617e 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_disk.c,v 1.12 1997/04/06 20:59:40 deraadt Exp $ */ +/* $OpenBSD: subr_disk.c,v 1.13 1997/05/12 22:43:55 deraadt Exp $ */ /* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */ /* @@ -485,8 +485,13 @@ dk_mountroot() break; #endif default: - panic("filesystem type %d not known", + { + extern int ffs_mountroot __P((void)); + + printf("filesystem type %d not known.. assuming ffs", dl.d_partitions[part].p_fstype); + mountrootfn = ffs_mountroot; + } } return (*mountrootfn)(); } |