diff options
Diffstat (limited to 'drivers/base/sys.c')
-rw-r--r-- | drivers/base/sys.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/base/sys.c b/drivers/base/sys.c index 9354dc10a363..1667aaf4fde6 100644 --- a/drivers/base/sys.c +++ b/drivers/base/sys.c | |||
@@ -432,13 +432,13 @@ int sysdev_suspend(pm_message_t state) | |||
432 | /* resume current sysdev */ | 432 | /* resume current sysdev */ |
433 | cls_driver: | 433 | cls_driver: |
434 | drv = NULL; | 434 | drv = NULL; |
435 | printk(KERN_ERR "Class suspend failed for %s\n", | 435 | printk(KERN_ERR "Class suspend failed for %s: %d\n", |
436 | kobject_name(&sysdev->kobj)); | 436 | kobject_name(&sysdev->kobj), ret); |
437 | 437 | ||
438 | aux_driver: | 438 | aux_driver: |
439 | if (drv) | 439 | if (drv) |
440 | printk(KERN_ERR "Class driver suspend failed for %s\n", | 440 | printk(KERN_ERR "Class driver suspend failed for %s: %d\n", |
441 | kobject_name(&sysdev->kobj)); | 441 | kobject_name(&sysdev->kobj), ret); |
442 | list_for_each_entry(err_drv, &cls->drivers, entry) { | 442 | list_for_each_entry(err_drv, &cls->drivers, entry) { |
443 | if (err_drv == drv) | 443 | if (err_drv == drv) |
444 | break; | 444 | break; |