[rtems commit] Correct minor spelling and grammar errors

Joel Sherrill joel at rtems.org
Wed Nov 7 00:51:41 UTC 2018


Module:    rtems
Branch:    master
Commit:    99d6172f06e11ff7f85f68552f9fea7bd317723f
Changeset: http://git.rtems.org/rtems/commit/?id=99d6172f06e11ff7f85f68552f9fea7bd317723f

Author:    Zenon <zenon.hans.taneka at dhs.sg>
Date:      Tue Nov  6 18:50:38 2018 -0600

Correct minor spelling and grammar errors

This work was performed as a GCI 2018 task.

---

 aclocal/canonical-target-name.m4 | 2 +-
 aclocal/rtems-build-top.m4       | 2 +-
 cpukit/dev/i2c/xilinx-axi-i2c.c  | 2 +-
 testsuites/samples/fileio/init.c | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/aclocal/canonical-target-name.m4 b/aclocal/canonical-target-name.m4
index 498610c..bcebf3a 100644
--- a/aclocal/canonical-target-name.m4
+++ b/aclocal/canonical-target-name.m4
@@ -1,5 +1,5 @@
 dnl canonicalize target cpu
-dnl NOTE: Most rtems targets do not fullfil autoconf's
+dnl NOTE: Most rtems targets do not fulfil autoconf's
 dnl target naming conventions "processor-vendor-os"
 dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
 dnl and we have to fix it for rtems ourselves 
diff --git a/aclocal/rtems-build-top.m4 b/aclocal/rtems-build-top.m4
index 5708119..77cff7f 100644
--- a/aclocal/rtems-build-top.m4
+++ b/aclocal/rtems-build-top.m4
@@ -5,7 +5,7 @@ AC_DEFUN([RTEMS_BUILD_TOP],
 [dnl
 #
 # This is a copy of the horrible hack in rtems-top.m4 and it is simpler to
-# copy it that attempt to clean this crap up.
+# copy it than attempt to clean this crap up.
 #
 RTEMS_BUILD_ROOT="${with_rtems_build_top}"
 AC_SUBST([RTEMS_BUILD_ROOT])
diff --git a/cpukit/dev/i2c/xilinx-axi-i2c.c b/cpukit/dev/i2c/xilinx-axi-i2c.c
index 11b0658..fc8b4dd 100644
--- a/cpukit/dev/i2c/xilinx-axi-i2c.c
+++ b/cpukit/dev/i2c/xilinx-axi-i2c.c
@@ -502,7 +502,7 @@ xilinx_axi_i2c_read_rx_fifo(xilinx_axi_i2c_bus* bus)
          * One more byte to be received. This is set up by programming the RX
          * FIFO programmable depth interrupt register with a value that is 2
          * less than the number we need (the register is minus 1). When we have
-         * one byte left disable the TX error interrupt because setting the NO
+         * one byte left, disable the TX error interrupt because setting the NO
          * ACK bit in the command register causes a TX error interrupt. Set the
          * TXAK bit in the CR to not-acknowledge the next byte received telling
          * the slave sender the master accepts no more data, then read the
diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c
index 3bb7fcc..86b34b9 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;
     }
   }




More information about the vc mailing list