Package: scalpel / 1.60-6

40_fix-spelling.patch Patch series | download
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
Description: fix a spelling error in final binary.
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2016-11-12
Index: scalpel-1.60/files.c
===================================================================
--- scalpel-1.60.orig/files.c
+++ scalpel-1.60/files.c
@@ -49,20 +49,20 @@ int outputDirectoryOK(char *dir) {
 	if (mkdir(dir,newDirectoryMode)) {
 #endif	
 	  
-	  fprintf (stderr,"An error occured while trying to create %s - %s\n",
+	  fprintf (stderr,"An error occurred while trying to create %s - %s\n",
 		   dir,strerror(errno));
 	  return FALSE;
 	}
 	
 	// try to open directory
 	if ((temp = opendir(dir)) == NULL) {
-	  fprintf (stderr,"An error occured while trying to open %s - %s\n",
+	  fprintf (stderr,"An error occurred while trying to open %s - %s\n",
 		   dir,strerror(errno));
 	  return FALSE;
 	}
       }
       else {
-	fprintf (stderr,"An error occured while trying to open %s - %s\n",
+	fprintf (stderr,"An error occurred while trying to open %s - %s\n",
 		 dir,strerror(errno));
 	return FALSE;
       }