Displaying 1 result from an estimated 1 matches for "f43339c".
Did you mean:
  f43339c8
  
2019 Jan 24
0
[klibc:master] fix build failure when CONFIG_KLIBC_ZLIB is not set
...returning -1
Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
 usr/kinit/ramdisk_load.c | 9 +++++++++
 1 file changed, 9 insertions(+)
diff --git a/usr/kinit/ramdisk_load.c b/usr/kinit/ramdisk_load.c
index 2b3503a..f43339c 100644
--- a/usr/kinit/ramdisk_load.c
+++ b/usr/kinit/ramdisk_load.c
@@ -46,6 +46,7 @@ static int change_disk(const char *devpath, int rfd, int disk)
 	return open(devpath, O_RDONLY);
 }
 
+#ifdef CONFIG_KLIBC_ZLIB
 /* Also used in initrd.c */
 int load_ramdisk_compressed(const char *devpath, FILE...