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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: frans
Date: Sunday, August 17, 2008 - 2:07 am

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@kernel.org 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@gmail.com>

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[TRIVIAL] [PATCH] Documentation/filesystems/ramfs-rootfs-i ..., frans, (Sun Aug 17, 2:07 am)