summaryrefslogtreecommitdiff
path: root/kernel.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kernel.patch')
-rw-r--r--kernel.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel.patch b/kernel.patch
new file mode 100644
index 0000000..369b9c5
--- /dev/null
+++ b/kernel.patch
@@ -0,0 +1,13 @@
+diff --git a/kernel/timeconst.pl b/kernel/timeconst.pl
+index eb51d76..0461239 100644
+--- a/kernel/timeconst.pl
++++ b/kernel/timeconst.pl
+@@ -370,7 +370,7 @@ if ($hz eq '--can') {
+ }
+
+ @val = @{$canned_values{$hz}};
+- if (!defined(@val)) {
++ if (!@val) {
+ @val = compute_values($hz);
+ }
+ output($hz, @val);