[TRIVIAL] [PATCH]Documentation/filesystems/ramfs-rootfs-initramfs.txt

From: frans
Date: Sun Aug 17 2008 - 05:07:32 EST


A trivial patch on ramfs-rootfs-initramfs.txt
First a file hello.c is created, then the file hello2.c is compiled.
Changed this to hello.c

Mailed this before to trivial@xxxxxxxxxx only but did not get a reply and
haven't seen it applied yet, so resubmitting to a wider audience...

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@xxxxxxxxx>

diff --git a/Documentation/filesystems/ramfs-rootfs-initramfs.txt b/Documentation/filesystems/ramfs-rootfs-initramfs.txt
index 7be232b..62fe9b1 100644
--- a/Documentation/filesystems/ramfs-rootfs-initramfs.txt
+++ b/Documentation/filesystems/ramfs-rootfs-initramfs.txt
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/