From 1a8f4b57a9ba6a28345b98bf7aa09d9fde46686b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Tue, 5 Mar 2002 15:05:17 +0000 Subject: [PATCH] fix printf call --- apps/speed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/speed.c b/apps/speed.c index 1c2b4eeda2..b451a49af3 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -1625,7 +1625,7 @@ show_res: #endif #ifdef HZ #define as_string(s) (#s) - printf("HZ=%g", HZ); + printf("HZ=%g", (double)HZ); # ifdef _SC_CLK_TCK printf(" [sysconf value]"); # endif -- 2.25.1