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;
}
|