diff options
author | 1999-11-17 04:31:22 +0000 | |
---|---|---|
committer | 1999-11-17 04:31:22 +0000 | |
commit | 6528445e69493aecc97462d067a735ce49c0ffd6 (patch) | |
tree | 5c5bba3dbfa15b1caa6e8c93cfa7030f00085d67 /sys/kern/subr_disk.c | |
parent | Add missing MLINKs (diff) | |
download | wireguard-openbsd-6528445e69493aecc97462d067a735ce49c0ffd6.tar.xz wireguard-openbsd-6528445e69493aecc97462d067a735ce49c0ffd6.zip |
allow to compile without -DFFS. okay deraadt@
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r-- | sys/kern/subr_disk.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index bcae3380548..5d8f8fda806 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_disk.c,v 1.16 1997/11/23 03:19:18 mickey Exp $ */ +/* $OpenBSD: subr_disk.c,v 1.17 1999/11/17 04:31:22 d Exp $ */ /* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */ /* @@ -471,6 +471,7 @@ dk_mountroot() break; #endif default: +#ifdef FFS { extern int ffs_mountroot __P((void)); @@ -478,6 +479,10 @@ dk_mountroot() dl.d_partitions[part].p_fstype); mountrootfn = ffs_mountroot; } +#else + panic("disk 0x%x/0x%x filesystem type %d not known", + rootdev, rrootdev, dl.d_partitions[part].p_fstype); +#endif } return (*mountrootfn)(); } |