diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-10-21 14:18:38 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-10-21 14:18:38 +0000 |
commit | 1d6526c6f4de3600111b9ba4b1194566a9d69b5d (patch) | |
tree | d1086d10c728ab2ac899ac3b143d7cbf31b2a1d4 /sys/arch/i386 | |
parent | 143a083cb6d8f0033248cf779ef1d49c4fdcdaae (diff) |
We have a pointer (pp), so use it in the DOSPTYP_UNUSED case rather
than lp->d_partitions[8+n++]. All other cases already use the pointer.
No functional change.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/disksubr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/disksubr.c b/sys/arch/i386/i386/disksubr.c index 0cf29aaeefe..79adde7452a 100644 --- a/sys/arch/i386/i386/disksubr.c +++ b/sys/arch/i386/i386/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.63 2006/10/20 23:47:42 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.64 2006/10/21 14:18:37 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -180,8 +180,8 @@ donot: */ if (cp == (char *)(dp2 + 1)) continue; - lp->d_partitions[8 + n++].p_fstype = - FS_UNUSED; + pp->p_fstype = FS_UNUSED; + n++; break; case DOSPTYP_LINUX: |