diff options
author | Zenon <zenon.hans.taneka@dhs.sg> | 2018-11-06 18:50:38 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-11-06 18:51:32 -0600 |
commit | 99d6172f06e11ff7f85f68552f9fea7bd317723f (patch) | |
tree | 1479591fc564bd02f33440f19484e641dd1cb7a7 /testsuites/samples | |
parent | 9bb395167a1cc7d8551d217825313bffcd0d8e1b (diff) |
Correct minor spelling and grammar errors
This work was performed as a GCI 2018 task.
Diffstat (limited to 'testsuites/samples')
-rw-r--r-- | testsuites/samples/fileio/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c index 3bb7fcc800..86b34b99dd 100644 --- a/testsuites/samples/fileio/init.c +++ b/testsuites/samples/fileio/init.c @@ -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; } } |