summaryrefslogtreecommitdiffstats
path: root/sbin/bsdlabel
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-04-07 10:39:23 +0000
committerphk <phk@FreeBSD.org>2002-04-07 10:39:23 +0000
commit0e00996d76475ba32ccd0bbfe2e95d7196d986f6 (patch)
tree398a09a82a4b575587f196c15389f0bd3c17119c /sbin/bsdlabel
parented4d3f9f43cece87a47e518ec6b47b052311c1aa (diff)
downloadFreeBSD-src-0e00996d76475ba32ccd0bbfe2e95d7196d986f6.zip
FreeBSD-src-0e00996d76475ba32ccd0bbfe2e95d7196d986f6.tar.gz
Nuke a totally pointless optional debug option
Sponsored by: DARPA and NAI Labs.
Diffstat (limited to 'sbin/bsdlabel')
-rw-r--r--sbin/bsdlabel/bsdlabel.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c
index b5c2cc2..dd1e8d7 100644
--- a/sbin/bsdlabel/bsdlabel.c
+++ b/sbin/bsdlabel/bsdlabel.c
@@ -159,12 +159,7 @@ enum {
int rflag;
int disable_write; /* set to disable writing to disk label */
-#ifdef DEBUG
-int debug;
-#define OPTIONS "BNRWb:denrs:w"
-#else
#define OPTIONS "BNRWb:enrs:w"
-#endif
int
main(int argc, char *argv[])
@@ -220,11 +215,6 @@ main(int argc, char *argv[])
usage();
op = WRITE;
break;
-#ifdef DEBUG
- case 'd':
- debug++;
- break;
-#endif
case '?':
default:
usage();
@@ -628,11 +618,6 @@ makebootarea(char *boot, struct disklabel *dp, int f)
}
#endif
}
-#ifdef DEBUG
- if (debug)
- fprintf(stderr, "bootstraps: xxboot = %s, bootxx = %s\n",
- xxboot, bootxx ? bootxx : "NONE");
-#endif
/*
* Strange rules:
OpenPOWER on IntegriCloud