The following commit has been merged in the linux branch: commit bf9fd67a0328d56eff6022f80d4eb88ba6614119 Author: Jiri Slaby jirislaby@gmail.com Date: Wed Oct 28 22:55:42 2009 +0100
PM / Hibernate: Add newline to load_image() fail path
Finish a line by \n when load_image fails in the middle of loading.
Signed-off-by: Jiri Slaby jirislaby@gmail.com Acked-by: Pavel Machek pavel@ucw.cz Signed-off-by: Rafael J. Wysocki rjw@sisk.pl
diff --git a/kernel/power/swap.c b/kernel/power/swap.c index afa052b..890f6b1 100644 --- a/kernel/power/swap.c +++ b/kernel/power/swap.c @@ -536,7 +536,8 @@ static int load_image(struct swap_map_handle *handle, snapshot_write_finalize(snapshot); if (!snapshot_image_loaded(snapshot)) error = -ENODATA; - } + } else + printk("\n"); swsusp_show_speed(&start, &stop, nr_to_read, "Read"); return error; }