aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/tscfreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/tscfreq.c b/etc/tscfreq.c
index 459db083c..096a13399 100644
--- a/etc/tscfreq.c
+++ b/etc/tscfreq.c
@@ -19,5 +19,5 @@ int main() {
const long long tsc_hz = ((t1-t0)*1000*1000)/usecs;
const long long tsc_mhz = tsc_hz / 1000 / 1000;
const long long tsc_ghz = tsc_mhz / 1000;
- printf("%1d.%02d\n", tsc_ghz, (tsc_mhz - 1000*tsc_ghz + 5)/10);
+ printf("%1lli.%02lli\n", tsc_ghz, (tsc_mhz - 1000*tsc_ghz + 5)/10);
}