File: spelling.patch

package info (click to toggle)
pftools 3.2.12-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 92,208 kB
  • sloc: ansic: 17,779; fortran: 12,000; perl: 2,956; sh: 232; makefile: 26; f90: 3
file content (22 lines) | stat: -rw-r--r-- 730 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Fix spelling
Author: Andreas Tille <tille@debian.org>
Last-Update: 2017-03-31

--- a/src/C/utils/ReadSequence.c
+++ b/src/C/utils/ReadSequence.c
@@ -42,13 +42,13 @@
   
   const int FileDescriptor = open(FileName, O_RDONLY);
   if ( FileDescriptor == -1) {
-    fprintf(stderr, "Error occured while accessing file %s\n", FileName);
+    fprintf(stderr, "Error occurred while accessing file %s\n", FileName);
     perror("The error reads ");
     return 1;
   }
 
   if (fstat(FileDescriptor, &FileStat) == -1 ) {
-    fprintf(stderr, "Error occured while accessing file %s\n", FileName);
+    fprintf(stderr, "Error occurred while accessing file %s\n", FileName);
     perror("The error reads ");
     return 1;
   }