summaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/dl-cache.c4
-rw-r--r--sysdeps/generic/dl-sysdep.c2
-rw-r--r--sysdeps/generic/libc-start.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/generic/dl-cache.c b/sysdeps/generic/dl-cache.c
index f08bbf1896..5e16f2852a 100644
--- a/sysdeps/generic/dl-cache.c
+++ b/sysdeps/generic/dl-cache.c
@@ -155,7 +155,7 @@ _dl_load_cache_lookup (const char *name)
/* Print a message if the loading of libs is traced. */
if (__builtin_expect (_dl_debug_mask & DL_DEBUG_LIBS, 0))
- _dl_debug_message (1, " search cache=", LD_SO_CACHE, "\n", NULL);
+ _dl_debug_printf (" search cache=%s\n", LD_SO_CACHE);
if (cache == NULL)
{
@@ -253,7 +253,7 @@ _dl_load_cache_lookup (const char *name)
/* Print our result if wanted. */
if (__builtin_expect (_dl_debug_mask & DL_DEBUG_LIBS, 0) && best != NULL)
- _dl_debug_message (1, " trying file=", best, "\n", NULL);
+ _dl_debug_printf (" trying file=%s\n", best);
return best;
}
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c
index fc2fa08ce5..3dc76257a7 100644
--- a/sysdeps/generic/dl-sysdep.c
+++ b/sysdeps/generic/dl-sysdep.c
@@ -264,7 +264,7 @@ _dl_show_auxv (void)
else if (__builtin_expect (auxvars[idx].form, hex) == hex)
val = _itoa_word (av->a_un.a_val, buf + sizeof buf - 1, 16, 0);
- _dl_sysdep_message (auxvars[idx].label, val, "\n", NULL);
+ _dl_printf ("%s%s\n", auxvars[idx].label, val);
}
}
}
diff --git a/sysdeps/generic/libc-start.c b/sysdeps/generic/libc-start.c
index c02fa8a445..fc2886db49 100644
--- a/sysdeps/generic/libc-start.c
+++ b/sysdeps/generic/libc-start.c
@@ -116,14 +116,14 @@ BP_SYM (__libc_start_main) (int (*main) (int, char **, char **),
/* Call the initializer of the program, if any. */
#ifdef SHARED
if (__builtin_expect (_dl_debug_mask & DL_DEBUG_IMPCALLS, 0))
- _dl_debug_message (1, "\ninitialize program: ", argv[0], "\n\n", NULL);
+ _dl_debug_printf ("\ninitialize program: %s\n\n", argv[0]);
#endif
if (init)
(*init) ();
#ifdef SHARED
if (__builtin_expect (_dl_debug_mask & DL_DEBUG_IMPCALLS, 0))
- _dl_debug_message (1, "\ntransferring control: ", argv[0], "\n\n", NULL);
+ _dl_debug_printf ("\ntransferring control: %s\n\n", argv[0]);
#endif
exit ((*main) (argc, argv, __environ));