Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Fix Documentation/filesystems/ramfs-rootfs-initramfs.txt

First a file hello.c is created, then the file hello2.c is compiled.
Change this to hello.c

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

frans and committed by
Linus Torvalds
dd1c53a6 fca692c0

+1 -1
+1 -1
Documentation/filesystems/ramfs-rootfs-initramfs.txt
··· 263 263 sleep(999999999); 264 264 } 265 265 EOF 266 - gcc -static hello2.c -o init 266 + gcc -static hello.c -o init 267 267 echo init | cpio -o -H newc | gzip > test.cpio.gz 268 268 # Testing external initramfs using the initrd loading mechanism. 269 269 qemu -kernel /boot/vmlinuz -initrd test.cpio.gz /dev/zero