Merge branch 'perf-tools-for-linus' of git://github.com/acmel/linux
[cascardo/linux.git] / drivers / char / apm-emulation.c
index 548708c..a7346ab 100644 (file)
@@ -606,7 +606,7 @@ static int apm_suspend_notifier(struct notifier_block *nb,
                        return NOTIFY_OK;
 
                /* interrupted by signal */
-               return NOTIFY_BAD;
+               return notifier_from_errno(err);
 
        case PM_POST_SUSPEND:
                /*