summaryrefslogtreecommitdiff
path: root/src/init/fs/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init/fs/misc.c')
-rw-r--r--src/init/fs/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/fs/misc.c b/src/init/fs/misc.c
index dc14ac4..ddb230f 100644
--- a/src/init/fs/misc.c
+++ b/src/init/fs/misc.c
@@ -117,7 +117,7 @@ void fs_dir_inject(const char *path) {
const char *inject;
};
- const int path_len = strlen(path);
+ const size_t path_len = strlen(path);
struct fs_wait_response res;
struct fs_dir_handle handles[16]; // TODO hardcoded FD_MAX - use malloc instead
int handle_next = 0;