summaryrefslogtreecommitdiff
path: root/src/user/lib/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/include')
-rw-r--r--src/user/lib/include/camellia/fs/misc.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/user/lib/include/camellia/fs/misc.h b/src/user/lib/include/camellia/fs/misc.h
index 0b2a018..301c604 100644
--- a/src/user/lib/include/camellia/fs/misc.h
+++ b/src/user/lib/include/camellia/fs/misc.h
@@ -2,8 +2,6 @@
#include <stdbool.h>
#include <stdlib.h>
-bool fork2_n_mount(const char *path);
-
void forward_open(hid_t reqh, const char *path, long len, int flags);
void fs_passthru(const char *prefix);
@@ -13,7 +11,7 @@ void fs_union(const char **list);
void fs_dirinject(const char *path);
void fs_dirinject2(const char *injects[]);
-bool mount_at(const char *path);
+int mount_at(const char *path);
// TODO separate fs drivers and wrappers around syscalls
@@ -21,4 +19,4 @@ bool mount_at(const char *path);
hid_t ufs_wait(char *buf, size_t len, struct ufs_request *req);
/** Mounts something and injects its path into the fs */
-#define MOUNT_AT(path) for (; mount_at(path); exit(1))
+#define MOUNT_AT(path) for (; mount_at(path) == 0; exit(1))