diff options
-rw-r--r-- | kernel/power/user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/user.c b/kernel/power/user.c index c202e2e1a2d5..06ea33df8560 100644 --- a/kernel/power/user.c +++ b/kernel/power/user.c | |||
@@ -259,7 +259,7 @@ static long snapshot_ioctl(struct file *filp, unsigned int cmd, | |||
259 | error = freeze_processes(); | 259 | error = freeze_processes(); |
260 | if (error) | 260 | if (error) |
261 | usermodehelper_enable(); | 261 | usermodehelper_enable(); |
262 | if (!error) | 262 | else |
263 | data->frozen = 1; | 263 | data->frozen = 1; |
264 | break; | 264 | break; |
265 | 265 | ||