Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162638100
D57412.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
620 B
Referenced Files
None
Subscribers
None
D57412.diff
View Options
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -748,7 +748,7 @@
"your laptop when you close the lid.");
SYSCTL_ADD_PROC(&sc->acpi_sysctl_ctx, SYSCTL_CHILDREN(sc->acpi_sysctl_tree),
OID_AUTO, "suspend_state", CTLTYPE_STRING | CTLFLAG_RW | CTLFLAG_MPSAFE,
- NULL, 0, acpi_suspend_state_sysctl, "A",
+ sc, 0, acpi_suspend_state_sysctl, "A",
"Current ACPI suspend state. This sysctl is deprecated; you probably "
"want to use kern.power.suspend instead.");
SYSCTL_ADD_PROC(&sc->acpi_sysctl_ctx, SYSCTL_CHILDREN(sc->acpi_sysctl_tree),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 16, 7:25 AM (1 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33726539
Default Alt Text
D57412.diff (620 B)
Attached To
Mode
D57412: acpi: Fix panic when reading 'hw.acpi.suspend_state' knob on S1/S2
Attached
Detach File
Event Timeline
Log In to Comment