[rtems commit] psxmmap01/test_driver.c: Fix mmap_h handler type mismatch

Joel Sherrill joel at rtems.org
Thu Jul 27 20:37:46 UTC 2017


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

Author:    Joel Sherrill <joel at rtems.org>
Date:      Thu Jul 27 17:29:02 2017 -0500

psxmmap01/test_driver.c: Fix mmap_h handler type mismatch

---

 testsuites/psxtests/psxmmap01/test_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/psxtests/psxmmap01/test_driver.c b/testsuites/psxtests/psxmmap01/test_driver.c
index 87719b9..95edd3e 100644
--- a/testsuites/psxtests/psxmmap01/test_driver.c
+++ b/testsuites/psxtests/psxmmap01/test_driver.c
@@ -25,7 +25,7 @@ static int handler_fstat(
   return 0;
 }
 
-static ssize_t handler_mmap(
+static int handler_mmap(
   rtems_libio_t *iop,
   void **addr,
   size_t len,




More information about the vc mailing list