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/landisk | |
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/landisk')
-rw-r--r-- | sys/arch/landisk/landisk/disksubr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/landisk/landisk/disksubr.c b/sys/arch/landisk/landisk/disksubr.c index be4bdb5df61..bb18872e393 100644 --- a/sys/arch/landisk/landisk/disksubr.c +++ b/sys/arch/landisk/landisk/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.7 2006/10/20 23:47:42 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.8 2006/10/21 14:18:37 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -184,8 +184,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: |