summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/src/bdpart-mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libblock/src/bdpart-mount.c')
-rw-r--r--cpukit/libblock/src/bdpart-mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libblock/src/bdpart-mount.c b/cpukit/libblock/src/bdpart-mount.c
index 8f2e051c61..aef15dfbaa 100644
--- a/cpukit/libblock/src/bdpart-mount.c
+++ b/cpukit/libblock/src/bdpart-mount.c
@@ -29,7 +29,7 @@
#include <rtems.h>
#include <rtems/bdpart.h>
-#include <rtems/fsmount.h>
+#include <rtems/libio.h>
rtems_status_code rtems_bdpart_mount(
const char *disk_name,
@@ -90,7 +90,7 @@ rtems_status_code rtems_bdpart_mount(
/* Create mount point */
strncpy( mount_marker, logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE);
- rv = rtems_fsmount_create_mount_point( mount_point);
+ rv = rtems_mkdir( mount_point, S_IRWXU | S_IRWXG | S_IRWXO);
if (rv != 0) {
esc = RTEMS_IO_ERROR;
goto cleanup;