summaryrefslogtreecommitdiff
path: root/src/init/fs/misc.c
diff options
context:
space:
mode:
authordzwdz2022-04-12 19:50:19 +0200
committerdzwdz2022-04-12 19:50:19 +0200
commit49d095e34b9d9a364437bb3b1b6b1e7b07328d38 (patch)
tree367e2be882ee0d9c18d54e7becf71185a24ef76a /src/init/fs/misc.c
parent73d7e865e9ded43295b7d91cc000e323ccad82e2 (diff)
shared: fix some minor warnings
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;