diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-10-28 22:55:42 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2009-11-03 11:03:09 +0100 |
commit | bf9fd67a0328d56eff6022f80d4eb88ba6614119 (patch) | |
tree | e2621ab848a7ad7cae2397e0356ece7e2eeea452 /kernel | |
parent | PM / Hibernate: Fix error handling in save_image() (diff) | |
download | linux-bf9fd67a0328d56eff6022f80d4eb88ba6614119.tar.xz linux-bf9fd67a0328d56eff6022f80d4eb88ba6614119.zip |
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 '')
-rw-r--r-- | kernel/power/swap.c | 3 |
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; } |