diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-04-10 12:50:32 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-04-10 12:50:32 +0000 |
commit | 085d70be1a2e8bf274250aacb2497ac962219602 (patch) | |
tree | 96d38bec6a43d963adcd4746aff1180c475552ec /ldso | |
parent | f48bd7236f8e2a21075977859cbf79757d41e620 (diff) |
SEND_NUMBER_STDERR is supposed to be calling _dl_simple_ltoa(),
not _dl_simple_ltoahex(). Numbers are not supposed to be in hex.
-Erik
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/ld_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/ld_string.h b/ldso/ldso/ld_string.h index 736836d9b..e2b1f28c3 100644 --- a/ldso/ldso/ld_string.h +++ b/ldso/ldso/ld_string.h @@ -247,7 +247,7 @@ static inline char *_dl_simple_ltoahex(char * local, unsigned long i) #define SEND_NUMBER_STDERR(X, add_a_newline) { \ char tmp[22], *tmp1; \ _dl_memset(tmp, 0, sizeof(tmp)); \ - tmp1=_dl_simple_ltoahex( tmp, (unsigned long)(X)); \ + tmp1=_dl_simple_ltoa( tmp, (unsigned long)(X)); \ _dl_write(2, tmp1, _dl_strlen(tmp1)); \ if (add_a_newline) { \ tmp[0]='\n'; \ |