summary refs log tree commit diff
path: root/elf/cache.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-06 05:48:26 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-06 05:48:26 +0000
commit681627531b56d2f47bdef803cbeef2d6e842a126 (patch)
treea6e3a41fab82a8df21eb6e30fe012c1241fa366e /elf/cache.c
parent403cb8a19cb457b7f830520a06b0da5a2b846812 (diff)
downloadglibc-681627531b56d2f47bdef803cbeef2d6e842a126.tar.gz
glibc-681627531b56d2f47bdef803cbeef2d6e842a126.tar.xz
glibc-681627531b56d2f47bdef803cbeef2d6e842a126.zip
Update.
	* elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
	string.  Include <inttypes.h> instead of <stdint.h>.
Diffstat (limited to 'elf/cache.c')
-rw-r--r--elf/cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/cache.c b/elf/cache.c
index 821dda93e5..d3c7f81c2b 100644
--- a/elf/cache.c
+++ b/elf/cache.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Jaeger <aj@suse.de>, 1999.
 
@@ -20,12 +20,12 @@
 #include <errno.h>
 #include <error.h>
 #include <dirent.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>
@@ -84,7 +84,7 @@ print_entry (const char *lib, int flag, uint64_t hwcap, const char *key)
       break;
     }
   if (hwcap != 0)
-    printf (", hwcap: 0x%Lx", hwcap);
+    printf (", hwcap: 0x%" PRIx64, hwcap);
   printf (") => %s\n", key);
 }