summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/disksubr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/disksubr.c b/sys/arch/amd64/amd64/disksubr.c
index b9301c73803..1df1acd07b2 100644
--- a/sys/arch/amd64/amd64/disksubr.c
+++ b/sys/arch/amd64/amd64/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.21 2006/10/20 23:47:42 krw Exp $ */
+/* $OpenBSD: disksubr.c,v 1.22 2006/10/21 14:18:36 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: