diff options
author | phk <phk@FreeBSD.org> | 2002-04-07 10:39:23 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-04-07 10:39:23 +0000 |
commit | 0e00996d76475ba32ccd0bbfe2e95d7196d986f6 (patch) | |
tree | 398a09a82a4b575587f196c15389f0bd3c17119c | |
parent | ed4d3f9f43cece87a47e518ec6b47b052311c1aa (diff) | |
download | FreeBSD-src-0e00996d76475ba32ccd0bbfe2e95d7196d986f6.zip FreeBSD-src-0e00996d76475ba32ccd0bbfe2e95d7196d986f6.tar.gz |
Nuke a totally pointless optional debug option
Sponsored by: DARPA and NAI Labs.
-rw-r--r-- | sbin/bsdlabel/bsdlabel.c | 15 | ||||
-rw-r--r-- | sbin/disklabel/disklabel.c | 15 |
2 files changed, 0 insertions, 30 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: diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c index b5c2cc2..dd1e8d7 100644 --- a/sbin/disklabel/disklabel.c +++ b/sbin/disklabel/disklabel.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: |