logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/bootstrap-initrd.git
commit: 9a4fea8d44822a933554d0f46c9e5c9115453831
parent 16d41fd6998e5ab8c9c2a4c050a9311c26ac3b6b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  1 Jul 2024 10:03:10 +0200

make-root.sh: Use 0 as loksh_tcc_cmd[] terminator instead of NULL

Diffstat:

Mmake-root.sh2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/make-root.sh b/make-root.sh @@ -73,7 +73,7 @@ gen_loksh_tcc_h() { -D_GNU_SOURCE -DEMACS -DVI -DSMALL -DHAVE_STRLCPY -DHAVE_STRLCAT -DHAVE_ISSETUGID \ -I ../lolibc-*/include/ *.c \ ../lolibc-*/sys_signame.c ../lolibc-*/strsignals.c ../lolibc-*/unvis.c ../lolibc-*/vis.c ../lolibc-*/strtonum.c - printf 'NULL};' + printf '0};' cd "$out_base" || die "Failed: cd $out_base" }