Skip to content

Commit

Permalink
PM / Hibernate: Add newline to load_image() fail path
Browse files Browse the repository at this point in the history
Finish a line by \n when load_image fails in the middle of loading.

Signed-off-by: Jiri Slaby <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
jirislaby authored and rjwysocki committed Nov 3, 2009
1 parent 4ff277f commit bf9fd67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/power/swap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bf9fd67

Please sign in to comment.