(search_dir): Use PRIx64 instead of Lx in printf string.
authordrepper <drepper>
Tue, 6 Feb 2001 00:46:33 +0000 (00:46 +0000)
committerdrepper <drepper>
Tue, 6 Feb 2001 00:46:33 +0000 (00:46 +0000)
Include <inttypes.h> instead of <stdint.h>.

elf/ldconfig.c

index f3f51e3..2318411 100644 (file)
 #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);
     }