summaryrefslogtreecommitdiff
path: root/security/bcwipe/files/patch-aa
blob: 1e876cd57911266258bd09b54860bfb541884bfd (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
30
31
32
33
34
35
36
37
--- wipe.c	Fri Nov  8 11:21:30 2002
+++ wipe.c	Fri Nov  8 11:15:03 2002
@@ -28,7 +28,6 @@
 #include <utime.h>
 #include <stdlib.h>
 #include <sys/ioctl.h>
-#include <sys/vfs.h>
 #include <time.h>
 #include <ctype.h>
 #include <sys/mount.h>
@@ -68,7 +67,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) );
@@ -700,7 +699,7 @@
             case '?':
             case 'h':
             default:
-                fprintf(stdout,usage_string);
+                fprintf(stdout,"%s",usage_string);
                 exit(0);
         } /* end of switch */
     } /* end of while */
@@ -710,7 +709,7 @@
 
     if ( 0 == argc )
     {
-        fprintf(stdout,usage_string);
+        fprintf(stdout,"%s",usage_string);
         exit(0);
     }
     if ( o_force ) o_interactive=FALSE;