mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
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: Johann Felix Soden <johfel@users.sourceforge.net> Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b23c9cc0ce
commit
4631a9a151
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue