From 085d70be1a2e8bf274250aacb2497ac962219602 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 10 Apr 2002 12:50:32 +0000 Subject: SEND_NUMBER_STDERR is supposed to be calling _dl_simple_ltoa(), not _dl_simple_ltoahex(). Numbers are not supposed to be in hex. -Erik --- ldso/ldso/ld_string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldso') 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'; \ -- cgit v1.2.3