summaryrefslogtreecommitdiff
path: root/kernel/power/swap.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2009-10-28 22:55:42 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2009-11-03 11:03:09 +0100
commitbf9fd67a0328d56eff6022f80d4eb88ba6614119 (patch)
treee2621ab848a7ad7cae2397e0356ece7e2eeea452 /kernel/power/swap.c
parent4ff277f9e42fa16314045bd124a61519286094c0 (diff)
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>
Diffstat (limited to 'kernel/power/swap.c')
-rw-r--r--kernel/power/swap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/power/swap.c b/kernel/power/swap.c
index afa052b61161..890f6b11b1d3 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;
}