aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/fs/initramfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/initramfs.c b/sys/fs/initramfs.c
index dad3763..817e6a1 100644
--- a/sys/fs/initramfs.c
+++ b/sys/fs/initramfs.c
@@ -149,8 +149,8 @@ static char *
get_module(const char *path, uint64_t *size) {
for (uint64_t i = 0; i < mod_req.response->module_count; ++i) {
if (strcmp(mod_req.response->modules[i]->path, path) == 0) {
- *size = mod_req.response->modules[i]->size;
- return mod_req.response->modules[i]->address;
+ *size = mod_req.response->modules[i]->size;
+ return mod_req.response->modules[i]->address;
}
}