[rtems commit] tftp: Use proper semaphore attr for mutex
Sebastian Huber
sebh at rtems.org
Mon Jun 6 11:16:45 UTC 2016
Module: rtems
Branch: master
Commit: a2f91f6cb87a5c53d1bb6f3dcb4ad9153078918f
Changeset: http://git.rtems.org/rtems/commit/?id=a2f91f6cb87a5c53d1bb6f3dcb4ad9153078918f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Jun 6 12:53:14 2016 +0200
tftp: Use proper semaphore attr for mutex
Close #2729.
---
cpukit/libnetworking/lib/tftpDriver.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/cpukit/libnetworking/lib/tftpDriver.c b/cpukit/libnetworking/lib/tftpDriver.c
index da57ad7..52236be 100644
--- a/cpukit/libnetworking/lib/tftpDriver.c
+++ b/cpukit/libnetworking/lib/tftpDriver.c
@@ -216,11 +216,9 @@ int rtems_tftpfs_initialize(
sc = rtems_semaphore_create (
rtems_build_name('T', 'F', 'T', 'P'),
1,
- RTEMS_FIFO |
RTEMS_BINARY_SEMAPHORE |
- RTEMS_NO_INHERIT_PRIORITY |
- RTEMS_NO_PRIORITY_CEILING |
- RTEMS_LOCAL,
+ RTEMS_PRIORITY |
+ RTEMS_INHERIT_PRIORITY,
0,
&fs->tftp_mutex
);
More information about the vc
mailing list