Browse Source

SEND_NUMBER_STDERR is supposed to be calling _dl_simple_ltoa(),
not _dl_simple_ltoahex(). Numbers are not supposed to be in hex.
-Erik

Eric Andersen 23 years ago
parent
commit
085d70be1a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ldso/ldso/ld_string.h

+ 1 - 1
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'; \