diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2013-12-28 19:22:16 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2013-12-28 19:22:16 +0100 |
commit | f72f90decc6852d332186c6d7ad2ad0f34cec3af (patch) | |
tree | 3d2c432f583ae1341d27c3ad4c3863f6a464b3cf /tune | |
parent | 4acc7705c33f60d3316b6bdb56486240d2d85711 (diff) | |
download | gmp-f72f90decc6852d332186c6d7ad2ad0f34cec3af.tar.gz |
Spelling fixes.
Diffstat (limited to 'tune')
-rw-r--r-- | tune/freq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tune/freq.c b/tune/freq.c index a6f92933e..28dc32896 100644 --- a/tune/freq.c +++ b/tune/freq.c @@ -459,7 +459,7 @@ freq_sunos_sysinfo (int help) /* "/etc/hw -r cpu" for SCO OpenUnix 8, printing a line like - The speed of the CPU is approximately 450Mhz + The speed of the CPU is approximately 450MHz */ static int freq_sco_etchw (int help) @@ -480,7 +480,7 @@ freq_sco_etchw (int help) while (fgets (buf, sizeof (buf), fp) != NULL) { end = 0; - if (sscanf (buf, " The speed of the CPU is approximately %lfMhz%n", + if (sscanf (buf, " The speed of the CPU is approximately %lfMHz%n", &val, &end) == 1 && end != 0) { speed_cycletime = 1e-6 / val; |