Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4631a9a1 authored by Johann Felix Soden's avatar Johann Felix Soden Committed by Linus Torvalds
Browse files

uml: fix initrd printk



If the initrd file has zero-length, the error message should contain
the filepath.

Cc: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: default avatarJohann Felix Soden <johfel@users.sourceforge.net>
Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b23c9cc0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ static int __init read_initrd(void)
	 * ask for no memory.
	 */
	if (size == 0) {
		printk(KERN_ERR "\"%\" is a zero-size initrd\n");
		printk(KERN_ERR "\"%s\" is a zero-size initrd\n", initrd);
		return 0;
	}