Correct minor spelling and grammar errors

This work was performed as a GCI 2018 task.
This commit is contained in:
Zenon
2018-11-06 18:50:38 -06:00
committed by Joel Sherrill
parent 9bb395167a
commit 99d6172f06
4 changed files with 5 additions and 5 deletions

View File

@@ -721,7 +721,7 @@ static void fileio_list_file(void)
printf("\n Trying to open file \"%s\" for read\n",fname);
fd = open(fname,O_RDONLY);
if (fd < 0) {
printf("*** file open failed, errno = %d(%s)\n",errno,strerror(errno));
printf("*** file failed to open, errno = %d(%s)\n",errno,strerror(errno));
}
}
@@ -1014,7 +1014,7 @@ static void fileio_read_file(void)
printf("... opening file \"%s\"\n",fname);
fd = open(fname,O_RDONLY);
if (fd < 0) {
printf("*** file open failed, errno = %d(%s)\n",errno,strerror(errno));
printf("*** failed to open file, errno = %d(%s)\n",errno,strerror(errno));
failed = true;
}
}