diff options
Diffstat (limited to 'sys/arch/zaurus/dev/zaurus_flash.c')
-rw-r--r-- | sys/arch/zaurus/dev/zaurus_flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/zaurus/dev/zaurus_flash.c b/sys/arch/zaurus/dev/zaurus_flash.c index 23dcfcb9b18..bb684aca1c0 100644 --- a/sys/arch/zaurus/dev/zaurus_flash.c +++ b/sys/arch/zaurus/dev/zaurus_flash.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zaurus_flash.c,v 1.8 2008/05/19 18:42:13 miod Exp $ */ +/* $OpenBSD: zaurus_flash.c,v 1.9 2009/05/21 23:45:48 krw Exp $ */ /* * Copyright (c) 2005 Uwe Stuehler <uwe@openbsd.org> @@ -374,7 +374,7 @@ zflash_default_disklabel(void *arg, dev_t dev, struct disklabel *lp) DL_SETPOFFSET(&lp->d_partitions[10], DL_GETPOFFSET(&lp->d_partitions[9]) + DL_GETPSIZE(&lp->d_partitions[9])); lp->d_partitions[10].p_fstype = FS_OTHER; - lp->d_npartitions = 11; + lp->d_npartitions = MAXPARTITIONS; lp->d_version = 1; /* Re-calculate the checksum. */ |