* [uml-devel] [PATCH] uml: Fix printk in initrd.c
@ 2008-02-10 20:11 Johann Felix Soden
2008-02-11 23:36 ` Jeff Dike
0 siblings, 1 reply; 2+ messages in thread
From: Johann Felix Soden @ 2008-02-10 20:11 UTC (permalink / raw)
To: Jeff Dike; +Cc: user-mode-linux-devel
From: Johann Felix Soden <johfel@users.sourceforge.net>
If the initrd file has zero-length, the error message should contain the filepath.
Signed-off-by: Johann Felix Soden <johfel@users.sourceforge.net>
---
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..b703cd5 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;
}
--
1.5.4
-------------------------------------------------------------------------
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [uml-devel] [PATCH] uml: Fix printk in initrd.c
2008-02-10 20:11 [uml-devel] [PATCH] uml: Fix printk in initrd.c Johann Felix Soden
@ 2008-02-11 23:36 ` Jeff Dike
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2008-02-11 23:36 UTC (permalink / raw)
To: Johann Felix Soden; +Cc: WANG Cong, Jeff Dike, user-mode-linux-devel
On Sun, Feb 10, 2008 at 09:11:42PM +0100, Johann Felix Soden wrote:
> From: Johann Felix Soden <johfel@users.sourceforge.net>
>
> If the initrd file has zero-length, the error message should contain the filepath.
Sigh - Wang Cong discovered this and sent it to Andrew about a week
ago, but Andrew seemed to have ignored it and I didn't notice.
I'll hang on to this and send it on.
Jeff
--
Work email - jdike at linux dot intel dot com
-------------------------------------------------------------------------
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-11 23:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-10 20:11 [uml-devel] [PATCH] uml: Fix printk in initrd.c Johann Felix Soden
2008-02-11 23:36 ` Jeff Dike
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.