Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4631a9a1517654748aaf89cbc46503819a29eb30 Commit: 4631a9a1517654748aaf89cbc46503819a29eb30 Parent: b23c9cc0ce652089a2f0af8c7f1541f10dc9b5db Author: Johann Felix Soden <[EMAIL PROTECTED]> AuthorDate: Sat Feb 23 15:23:23 2008 -0800 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Sat Feb 23 17:12:13 2008 -0800
uml: fix initrd printk 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]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- arch/um/kernel/initrd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/um/kernel/initrd.c b/arch/um/kernel/initrd.c index fa01556..d386c75 100644 --- a/arch/um/kernel/initrd.c +++ b/arch/um/kernel/initrd.c @@ -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; } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html