summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/disklabel.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-04-03 15:44:53 +0000
committerphk <phk@FreeBSD.org>2002-04-03 15:44:53 +0000
commit8b6606cbb7eaba40a6c0bedbc99bedf434f456d6 (patch)
treee92d3b1671ca60690e614a8263791b05dc3cccab /lib/libc/gen/disklabel.c
parentfe12960f1a49274fe66b8002b5abe4f150d003cb (diff)
downloadFreeBSD-src-8b6606cbb7eaba40a6c0bedbc99bedf434f456d6.zip
FreeBSD-src-8b6606cbb7eaba40a6c0bedbc99bedf434f456d6.tar.gz
Initial deorbit burn for the undocumented and unused d_boot[01]
fields of struct disklabel. Sponsored by: DARPA and NAI Labs.
Diffstat (limited to 'lib/libc/gen/disklabel.c')
-rw-r--r--lib/libc/gen/disklabel.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libc/gen/disklabel.c b/lib/libc/gen/disklabel.c
index 30baf24..9e4e395 100644
--- a/lib/libc/gen/disklabel.c
+++ b/lib/libc/gen/disklabel.c
@@ -79,11 +79,6 @@ getdiskbyname(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 (cgetstr(buf, "ty", &cq) > 0 && strcmp(cq, "removable") == 0)
dp->d_flags |= D_REMOVABLE;
OpenPOWER on IntegriCloud