summaryrefslogtreecommitdiff
path: root/sysutils/rename/files/patch-rename.c
blob: 17a74c2fd911dbf05bbc38bbf225922f3cc8d31e (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
--- ./rename.c.orig	2002-05-20 11:50:50.000000000 -0400
+++ ./rename.c	2011-03-13 05:05:52.000000000 -0400
@@ -65,7 +65,7 @@
 
 #if HAVE_REGEX_H
   #include <regex.h>
-#elif
+#else
   #include "regex.h"
 #endif
 
@@ -608,7 +608,7 @@
 
 skip:
     if (attr & MOD_VERBO) 
-	printf("skiped\n");
+	printf("skipped\n");
     return rs;
 }
 
@@ -659,6 +659,6 @@
     if (mode)  
 	printf(version, VERSION);  
     else  
-	printf(help);
+	printf("%s", help);
 }