UML - Fix initrd printk
PATCH 1/4 UML - Fix initrd printk
From: Johann Felix Soden <[email protected]>
If the initrd file has zero-length, the error message should contain the filepath.
Cc WANG Cong <[email protected]>
Signed-off-by Johann Felix Soden <[email protected]>
Signed-off-by Jeff Dike <[email protected]>
--- arch/um/kernel/initrd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/um/kernel/initrd.c +1 -1
@@ -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 ; }
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel