Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350222
b: refs/heads/master
c: 63a3f60
h: refs/heads/master
v: v3
  • Loading branch information
H. Peter Anvin committed Feb 8, 2013
1 parent c58e432 commit a37b4ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ffee0de411fd4f74f3b788892eeb075abbf26c52
refs/heads/master: 63a3f603413ffe82ad775f2d62a5afff87fd94a0
6 changes: 2 additions & 4 deletions trunk/kernel/timeconst.pl
Original file line number Diff line number Diff line change
Expand Up @@ -369,10 +369,8 @@ (@)
die "Usage: $0 HZ\n";
}

@val = @{$canned_values{$hz}};
if (!defined(@val)) {
@val = compute_values($hz);
}
$cv = $canned_values{$hz};
@val = defined($cv) ? @$cv : compute_values($hz);
output($hz, @val);
}
exit 0;

0 comments on commit a37b4ca

Please sign in to comment.