aboutsummaryrefslogtreecommitdiff
path: root/fatfs/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'fatfs/main.c')
-rw-r--r--fatfs/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatfs/main.c b/fatfs/main.c
index b85d7fe7..b34f8dae 100644
--- a/fatfs/main.c
+++ b/fatfs/main.c
@@ -205,7 +205,7 @@ fetch_root ()
assert_perror (err);
- mutex_unlock (&diskfs_root_node->lock);
+ pthread_mutex_unlock (&diskfs_root_node->lock);
}
@@ -239,7 +239,7 @@ main (int argc, char **argv)
diskfs_startup_diskfs (bootstrap, 0);
- cthread_exit (0);
+ pthread_exit (NULL);
return 0;
}