commit f3d795bb8ed3e7a193774435206f2cd150231596
parent e39c9655ee88b29a5aa50e201ff0a7d141141ce9
Author: Roberto E. Vargas Caballero <roberto.vargas@midokura.com>
Date: Tue, 22 Nov 2022 21:59:46 +0100
os9: Add return statement to allocfds()
The return statement was missed and it meant that the function
was useless.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/os9/alloc.c b/src/os9/alloc.c
@@ -177,6 +177,8 @@ allocfds(void)
return NULL;
}
unlock(&fdspool.m);
+
+ return fds;
}
void