Fix Documentation/filesystems/ramfs-rootfs-initramfs.txt
authorfrans <fransmeulenbroeks@gmail.com>
Thu, 16 Oct 2008 05:01:30 +0000 (22:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:30 +0000 (11:21 -0700)
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>
Documentation/filesystems/ramfs-rootfs-initramfs.txt

index 7be232b44ee4602f74dc0b75ed66d150c23a6aaf..62fe9b1e089031c2e30153e9dc1be6f15d30aa6c 100644 (file)
@@ -263,7 +263,7 @@ User Mode Linux, like so:
     sleep(999999999);
   }
   EOF
-  gcc -static hello2.c -o init
+  gcc -static hello.c -o init
   echo init | cpio -o -H newc | gzip > test.cpio.gz
   # Testing external initramfs using the initrd loading mechanism.
   qemu -kernel /boot/vmlinuz -initrd test.cpio.gz /dev/zero