diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-08 05:27:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-08 05:27:59 +0000 |
commit | 97db233d6e3ac6a4dd0ab00e7fbfe9bb0de82901 (patch) | |
tree | 30bb631ce3e2825b5f28e702527a803918d9087e /sys/arch/zaurus | |
parent | 41663440599d592f777310ed8c11e89fb470a2aa (diff) |
all drivers should spoof version 1 labels
Diffstat (limited to 'sys/arch/zaurus')
-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 15b269a268e..c373a891c03 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.2 2007/06/05 00:38:20 deraadt Exp $ */ +/* $OpenBSD: zaurus_flash.c,v 1.3 2007/06/08 05:27:58 deraadt Exp $ */ /* * Copyright (c) 2005 Uwe Stuehler <uwe@openbsd.org> @@ -376,9 +376,9 @@ 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_version = 1; /* Re-calculate the checksum. */ lp->d_checksum = dkcksum(lp); } |