mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
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>
This commit is contained in:
parent
4ff277f9e4
commit
bf9fd67a03
1 changed files with 2 additions and 1 deletions
|
@ -536,7 +536,8 @@ static int load_image(struct swap_map_handle *handle,
|
||||||
snapshot_write_finalize(snapshot);
|
snapshot_write_finalize(snapshot);
|
||||||
if (!snapshot_image_loaded(snapshot))
|
if (!snapshot_image_loaded(snapshot))
|
||||||
error = -ENODATA;
|
error = -ENODATA;
|
||||||
}
|
} else
|
||||||
|
printk("\n");
|
||||||
swsusp_show_speed(&start, &stop, nr_to_read, "Read");
|
swsusp_show_speed(&start, &stop, nr_to_read, "Read");
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue