diff options
| author | David Schultz <das@FreeBSD.org> | 2007-01-03 04:57:58 +0000 |
|---|---|---|
| committer | David Schultz <das@FreeBSD.org> | 2007-01-03 04:57:58 +0000 |
| commit | ac9913a74998a19e87540647ab832cf5a18229e0 (patch) | |
| tree | 61f638cbff790cd90abf8be46411e8f75d134965 /lib/libc/gdtoa | |
| parent | b1c00b13d61eb7cfcd3009d35ed3dc7c79625724 (diff) | |
Notes
Diffstat (limited to 'lib/libc/gdtoa')
| -rw-r--r-- | lib/libc/gdtoa/_hdtoa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gdtoa/_hdtoa.c b/lib/libc/gdtoa/_hdtoa.c index ff7ed5575be3b..11fc93ec9765c 100644 --- a/lib/libc/gdtoa/_hdtoa.c +++ b/lib/libc/gdtoa/_hdtoa.c @@ -55,7 +55,7 @@ roundup(char *s0, int ndigits) *s = 1; return (1); } - ++*s; + *s = 0; } ++*s; return (0); |
