diff options
Diffstat (limited to 'usr/src/man/man3c/strtod.3c')
-rw-r--r-- | usr/src/man/man3c/strtod.3c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/man/man3c/strtod.3c b/usr/src/man/man3c/strtod.3c index 8e71e67310..985379c091 100644 --- a/usr/src/man/man3c/strtod.3c +++ b/usr/src/man/man3c/strtod.3c @@ -230,12 +230,12 @@ what_kind_of_number (char *s) double d; long l; d = strtod(s, &endp); - if (s != endp && *endp == `\0') + if (s != endp && *endp == '\e0') printf("It's a float with value %g\en", d); else { l = strtol(s, &endp, 0); - if (s != endp && *endp == `\e0') + if (s != endp && *endp == '\e0') printf("It's an integer with value %ld\en", 1); else return 1; |