summaryrefslogtreecommitdiffstats
path: root/security/bcwipe
diff options
context:
space:
mode:
Diffstat (limited to 'security/bcwipe')
-rw-r--r--security/bcwipe/files/patch-aa29
1 files changed, 29 insertions, 0 deletions
diff --git a/security/bcwipe/files/patch-aa b/security/bcwipe/files/patch-aa
new file mode 100644
index 0000000..5130be3
--- /dev/null
+++ b/security/bcwipe/files/patch-aa
@@ -0,0 +1,29 @@
+--- wipe.c.orig Thu Jun 6 17:25:28 2002
++++ wipe.c Thu Jun 6 17:26:36 2002
+@@ -66,7 +66,7 @@
+ int ask_y_n(char *string)
+ {
+ char c;
+- fprintf(stderr,string);
++ fprintf(stderr,"%s",string);
+ c = tolower(fgetc(stdin));
+ if ( '\n' == c ) return FALSE;
+ while ( '\n' != fgetc(stdin) );
+@@ -675,7 +675,7 @@
+ case '?':
+ case 'h':
+ default:
+- fprintf(stdout,usage_string);
++ fprintf(stdout,"%s",usage_string);
+ exit(0);
+ } /* end of switch */
+ } /* end of while */
+@@ -685,7 +685,7 @@
+
+ if ( 0 == argc )
+ {
+- fprintf(stdout,usage_string);
++ fprintf(stdout,"%s",usage_string);
+ exit(0);
+ }
+ if ( o_force ) o_interactive=FALSE;
OpenPOWER on IntegriCloud