]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix typo
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 16 Jun 2022 18:16:21 +0000 (13:16 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 16 Jun 2022 18:16:21 +0000 (13:16 -0500)
src/lib/util/size.c

index f133addb2af147d09a1f17dfdaaeac8003cf2ac6..7e6a5b62a7ec39b5309fd9afe3ff3a3e83180bb9 100644 (file)
@@ -184,7 +184,7 @@ fr_slen_t fr_size_to_str(fr_sbuff_t *out, size_t in)
         *      Fast path - Won't be divisible by a power of 1000 or a power of 1024
         */
        if (pos2 < 3) goto done;
-       pos--;
+       pos2--;
 
        /*
         *      Get a count of trailing decimal zeroes.