diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-05-29 17:17:50 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-05-29 17:17:50 +0000 |
commit | 8bd394922978065abf008713063407de776bd6ad (patch) | |
tree | dd29d52b646027326ef217d77e579e052457367f | |
parent | 38000c0016053a0eebfae69396d10e540215c127 (diff) |
when producing a v1 label, set the version!!!!
-rw-r--r-- | lib/libc/gen/disklabel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/gen/disklabel.c b/lib/libc/gen/disklabel.c index a921b8e0bf0..ac5a21f05ac 100644 --- a/lib/libc/gen/disklabel.c +++ b/lib/libc/gen/disklabel.c @@ -109,6 +109,7 @@ getdiskbyname(const char *name) strlcpy(ptype, "tx", sizeof ptype); max = 'a' - 1; pp = &dp->d_partitions[0]; + dp->d_version = 1; for (p = 'a'; p < 'a' + MAXPARTITIONS; p++, pp++) { long f; |