View | Details | Raw Unified | Return to bug 220900 | Differences between
and this patch

Collapse All | Expand All

(-)deskutils/tpb/files/patch-src-tpb.c (-1 / +1 lines)
Lines 156-162 Link Here
156
+#ifdef __FreeBSD__
156
+#ifdef __FreeBSD__
157
+    u_int n = thinkpad_state->volume_level;
157
+    u_int n = thinkpad_state->volume_level;
158
+
158
+
159
+    if (sysctlbyname("dec.acpi_ibm.0.volume", NULL, NULL, &n, sizeof(n)) != 0)
159
+    if (sysctlbyname("dev.acpi_ibm.0.volume", NULL, NULL, &n, sizeof(n)) != 0)
160
+      fprintf(stderr, _("Unable to set volume sysctl"));
160
+      fprintf(stderr, _("Unable to set volume sysctl"));
161
+    else {
161
+    else {
162
+#endif
162
+#endif

Return to bug 220900