summaryrefslogtreecommitdiff
path: root/openbsd-compat/fmt_scaled.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2018-04-10 10:19:02 +1000
committerDamien Miller <djm@mindrot.org>2018-04-10 10:19:02 +1000
commit10479cc2a4acd6faaf643eb305233b49d70c31c1 (patch)
tree3ff183d0d7a71a2843e1cb13f682743761555053 /openbsd-compat/fmt_scaled.c
parent907da2f88519b34189fd03fac96de0c52d448233 (diff)
Many typo fixes from Karsten Weiss
Spotted using https://github.com/lucasdemarchi/codespell
Diffstat (limited to 'openbsd-compat/fmt_scaled.c')
-rw-r--r--openbsd-compat/fmt_scaled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/fmt_scaled.c b/openbsd-compat/fmt_scaled.c
index 7c5193e2..f68f2412 100644
--- a/openbsd-compat/fmt_scaled.c
+++ b/openbsd-compat/fmt_scaled.c
@@ -188,7 +188,7 @@ scan_scaled(char *scaled, long long *result)
/* scale whole part */
whole *= scale_fact;
- /* truncate fpart so it does't overflow.
+ /* truncate fpart so it doesn't overflow.
* then scale fractional part.
*/
while (fpart >= LLONG_MAX / scale_fact) {