From 93b29f08f0a62e5dd89498b58b569ac78a06271b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 30 Oct 2012 17:20:16 +0100 Subject: Filesystem: Use transient event --- cpukit/libcsupport/src/unmount.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'cpukit/libcsupport/src/unmount.c') diff --git a/cpukit/libcsupport/src/unmount.c b/cpukit/libcsupport/src/unmount.c index b888dee240..a6e0f40442 100644 --- a/cpukit/libcsupport/src/unmount.c +++ b/cpukit/libcsupport/src/unmount.c @@ -70,12 +70,9 @@ int unmount( const char *path ) rtems_filesystem_eval_path_cleanup( &ctx ); if ( rv == 0 ) { - rtems_event_set out; - rtems_status_code sc = rtems_event_receive( - RTEMS_FILESYSTEM_UNMOUNT_EVENT, - RTEMS_EVENT_ALL | RTEMS_WAIT, - RTEMS_NO_TIMEOUT, - &out + rtems_status_code sc = rtems_event_transient_receive( + RTEMS_WAIT, + RTEMS_NO_TIMEOUT ); if ( sc != RTEMS_SUCCESSFUL ) { -- cgit v1.2.3