summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2008-09-01 16:28:51 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2008-09-01 16:28:51 +0000
commit17b2d24733f9869ee3878663d384fc90208be7d5 (patch)
treeaac1bb05b7a106c681979c0e78fa0dc68b0e4eac /sys
parent6e593f8172ffa1fa54586273e76a53f68486eb04 (diff)
Bring comment into line with reality. We use sgi label info but don't
create just partitions 'i' -> 'l'. jsing@ had noted same discord.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sgi/sgi/disksubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/sgi/disksubr.c b/sys/arch/sgi/sgi/disksubr.c
index ef59b5e3ef2..ecc6b148264 100644
--- a/sys/arch/sgi/sgi/disksubr.c
+++ b/sys/arch/sgi/sgi/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.10 2008/09/01 14:08:25 krw Exp $ */
+/* $OpenBSD: disksubr.c,v 1.11 2008/09/01 16:28:50 krw Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -160,7 +160,7 @@ readsgilabel(struct buf *bp, void (*strat)(struct buf *),
goto done;
}
- /* Set up partitions i-l if there is no BSD label. */
+ /* Spoof info from sgi label, in case there is no OpenBSD label. */
DL_SETDSIZE(lp, (DL_GETDSIZE(lp)*lp->d_secsize) / dlp->dp.dp_secbytes);
lp->d_secsize = dlp->dp.dp_secbytes;
lp->d_nsectors = dlp->dp.dp_secs;