summaryrefslogtreecommitdiff
path: root/kernel.patch
blob: 369b9c51af67f7bd4e3823b490ae032f3313f205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);