diff options
author | 2015-10-25 16:35:40 +0000 | |
---|---|---|
committer | 2015-10-25 16:35:40 +0000 | |
commit | b103820286a27873da3907527a9c24d112f0849d (patch) | |
tree | 26aab2d145047c232d561ea7342b2678af384f38 /lib/libc | |
parent | I should not have committed this chunk. Spotted by krw@ (diff) | |
download | wireguard-openbsd-b103820286a27873da3907527a9c24d112f0849d.tar.xz wireguard-openbsd-b103820286a27873da3907527a9c24d112f0849d.zip |
Nuke union of d_packname with un_d_boot0 & un_d_boot1, keeping
d_packname as a simple field. Also nuke the access #defines, and
support for b0 and b1 capabilities in disktab.
ok deraadt@ miod@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/disklabel.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libc/gen/disklabel.c b/lib/libc/gen/disklabel.c index 117fce6cb63..cacde610389 100644 --- a/lib/libc/gen/disklabel.c +++ b/lib/libc/gen/disklabel.c @@ -70,11 +70,6 @@ getdiskbyname(const char *name) (*cq = *cp) && *cq != '|' && *cq != ':') cq++, cp++; *cq = '\0'; - /* - * boot name (optional) xxboot, bootxx - */ - cgetstr(buf, "b0", &dp->d_boot0); - cgetstr(buf, "b1", &dp->d_boot1); if (cgetcap(buf, "sf", ':') != NULL) dp->d_flags |= D_BADSECT; |