diff options
Diffstat (limited to 'kernel/power/swap.c')
-rw-r--r-- | kernel/power/swap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/swap.c b/kernel/power/swap.c index 1a3b0dd2c3fc..7b10da16389e 100644 --- a/kernel/power/swap.c +++ b/kernel/power/swap.c | |||
@@ -74,7 +74,7 @@ static int mark_swapfiles(swp_entry_t start) | |||
74 | 74 | ||
75 | static int swsusp_swap_check(void) /* This is called before saving image */ | 75 | static int swsusp_swap_check(void) /* This is called before saving image */ |
76 | { | 76 | { |
77 | int res = swap_type_of(swsusp_resume_device); | 77 | int res = swap_type_of(swsusp_resume_device, 0); |
78 | 78 | ||
79 | if (res >= 0) { | 79 | if (res >= 0) { |
80 | root_swap = res; | 80 | root_swap = res; |