summaryrefslogtreecommitdiff
path: root/security/bcwipe/files/patch-aa
blob: 5130be390ceefe7ba8b46a33a28ed9d0a80ea6b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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;