aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-06 00:56:59 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-06 00:56:59 +0000
commit5a35dfca75ee7f2e3b650f2d80a3f1b4802e21e1 (patch)
tree590e0428f8bcd49d5180215edc7f266794ee9449 /elf
parentae113383fe0eb948c6b9755206ec9e3253b3d88d (diff)
downloadglibc-5a35dfca75ee7f2e3b650f2d80a3f1b4802e21e1.zip
glibc-5a35dfca75ee7f2e3b650f2d80a3f1b4802e21e1.tar.gz
glibc-5a35dfca75ee7f2e3b650f2d80a3f1b4802e21e1.tar.bz2
Update.
* elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf string. Include <inttypes.h> instead of <stdint.h>.
Diffstat (limited to 'elf')
-rw-r--r--elf/ldconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index f3f51e3..2318411 100644
--- a/elf/ldconfig.c
+++ b/elf/ldconfig.c
@@ -23,12 +23,12 @@
#include <elf.h>
#include <error.h>
#include <errno.h>
+#include <inttypes.h>
#include <libintl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <stdint.h>
#include <sys/fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
@@ -597,7 +597,7 @@ search_dir (const struct dir_entry *entry)
if (opt_verbose)
{
if (hwcap != 0)
- printf ("%s: (hwcap: 0x%Lx)\n", entry->path, hwcap);
+ printf ("%s: (hwcap: 0x%" PRIx64 ")\n", entry->path, hwcap);
else
printf ("%s:\n", entry->path);
}