summaryrefslogtreecommitdiffstats
path: root/kernel/timeconst.pl
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2017-08-23 18:29:16 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2017-08-23 18:29:16 -0500
commit30bdf6fabf97b0d46c73093f4f25e933c70c7b5e (patch)
treebab695d9ac3459232ff66893ba23527dd407d9e3 /kernel/timeconst.pl
parentfcbb27b0ec6dcbc5a5108cb8fb19eae64593d204 (diff)
downloadast2050-linux-kernel-30bdf6fabf97b0d46c73093f4f25e933c70c7b5e.zip
ast2050-linux-kernel-30bdf6fabf97b0d46c73093f4f25e933c70c7b5e.tar.gz
Fix FTBFS from incorrect defined() in timeconst.pl
Diffstat (limited to 'kernel/timeconst.pl')
-rw-r--r--kernel/timeconst.pl2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud