diff options
author | Christian Cunningham <cc@localhost> | 2022-03-28 11:10:07 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-28 11:10:07 -0700 |
commit | 79fa96514f59e8999bbb74d66313ca13c1b3572a (patch) | |
tree | 5adcdd5665e763880f71ecbf9d381014eb2c486e /usr/string.c | |
parent | 3e7833e4017c52ca54e6c8311d1aeb793796986c (diff) |
Output s rather than s^2
Diffstat (limited to 'usr/string.c')
-rw-r--r-- | usr/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/string.c b/usr/string.c index 8c94900..6129d38 100644 --- a/usr/string.c +++ b/usr/string.c @@ -10,7 +10,7 @@ char* ulong_to_string(unsigned long value, char* data) if (t==0) break; dptr -= 1; - if (i == 5) { + if (i == 2) { *dptr = '.'; dptr -= 1; } |