summaryrefslogtreecommitdiff
path: root/kernel/freezer.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2009-05-15 23:30:50 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2009-05-15 23:30:50 +0200
commit4484079d517c2b6521621be0b1ea246ccc55c7d7 (patch)
tree60d0ae568555f1bd7329be411b28e55b12dc64c3 /kernel/freezer.c
parent8c21f34126222239450717b78dda0c4962d9ebfa (diff)
PM: check sysdev_suspend(PMSG_FREEZE) return value
Check the return value of sysdev_suspend(). I think this was a typo. Without this change, the following "if" check is always false. I also changed the error message so it's distinguishable from the similar message a few lines above. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions