aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_bus.c')
-rw-r--r--sys/kern/subr_bus.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
index 6f538544ca31..dfd65c12c103 100644
--- a/sys/kern/subr_bus.c
+++ b/sys/kern/subr_bus.c
@@ -4989,8 +4989,10 @@ root_resume(device_t dev)
int error;
error = bus_generic_resume(dev);
- if (error == 0)
- devctl_notify("kern", "power", "resume", NULL);
+ if (error == 0) {
+ devctl_notify("kern", "power", "resume", NULL); /* Deprecated gone in 14 */
+ devctl_notify("kernel", "power", "resume", NULL);
+ }
return (error);
}