summaryrefslogtreecommitdiff
path: root/sys/arch/mips64
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-10-21 14:18:38 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-10-21 14:18:38 +0000
commit1d6526c6f4de3600111b9ba4b1194566a9d69b5d (patch)
treed1086d10c728ab2ac899ac3b143d7cbf31b2a1d4 /sys/arch/mips64
parent143a083cb6d8f0033248cf779ef1d49c4fdcdaae (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/mips64')
-rw-r--r--sys/arch/mips64/mips64/disksubr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mips64/mips64/disksubr.c b/sys/arch/mips64/mips64/disksubr.c
index fadbdce32df..866ec1fc93d 100644
--- a/sys/arch/mips64/mips64/disksubr.c
+++ b/sys/arch/mips64/mips64/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.29 2006/10/20 23:47:43 krw Exp $ */
+/* $OpenBSD: disksubr.c,v 1.30 2006/10/21 14:18:37 krw Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -332,8 +332,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: