From 99d6172f06e11ff7f85f68552f9fea7bd317723f Mon Sep 17 00:00:00 2001 From: Zenon Date: Tue, 6 Nov 2018 18:50:38 -0600 Subject: Correct minor spelling and grammar errors This work was performed as a GCI 2018 task. --- testsuites/samples/fileio/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites/samples/fileio/init.c') 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; } } -- cgit v1.2.3