diff options
author | 2007-05-15 01:58:06 +0000 | |
---|---|---|
committer | 2007-05-15 01:58:06 +0000 | |
commit | ec01e9f1ece6933da40e2a96a3a7b2fc94a95ebf (patch) | |
tree | f451a10d0bad704693f4d188a3d4612f8aee84c3 /sys/kern/subr_disk.c | |
parent | kill __HAVE_DEVICE_REGISTER by requiring all architectures to have a (diff) | |
download | wireguard-openbsd-ec01e9f1ece6933da40e2a96a3a7b2fc94a95ebf.tar.xz wireguard-openbsd-ec01e9f1ece6933da40e2a96a3a7b2fc94a95ebf.zip |
now that setroot() prints nice things like:
root on sd0a swap on sd0b dump on sd0b
we can skip printing:
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
ok miod, no objections from other lazy slackers
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r-- | sys/kern/subr_disk.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index 4fa222692a1..803f80aea9c 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_disk.c,v 1.39 2007/05/10 06:02:04 deraadt Exp $ */ +/* $OpenBSD: subr_disk.c,v 1.40 2007/05/15 01:58:06 deraadt Exp $ */ /* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */ /* @@ -388,8 +388,10 @@ dk_mountroot(void) rrootdev = blktochr(rootdev); rawdev = MAKEDISKDEV(major(rrootdev), DISKUNIT(rootdev), RAW_PART); +#ifdef DEBUG printf("rootdev=0x%x rrootdev=0x%x rawdev=0x%x\n", rootdev, rrootdev, rawdev); +#endif /* * open device, ioctl for the disklabel, and close it. |