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/power | |
parent | 4ff277f9e42fa16314045bd124a61519286094c0 (diff) | |
download | kernel_samsung_smdk4412-bf9fd67a0328d56eff6022f80d4eb88ba6614119.zip kernel_samsung_smdk4412-bf9fd67a0328d56eff6022f80d4eb88ba6614119.tar.gz kernel_samsung_smdk4412-bf9fd67a0328d56eff6022f80d4eb88ba6614119.tar.bz2 |
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')
-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 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; } |