* elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
	string.  Include <inttypes.h> instead of <stdint.h>.
This commit is contained in:
Ulrich Drepper 2001-02-06 05:48:26 +00:00
parent 403cb8a19c
commit 681627531b
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2001-02-05 Ulrich Drepper <drepper@redhat.com>
* elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
string. Include <inttypes.h> instead of <stdint.h>.
* localedata/Makefile (tests): Add bug-iconv-trans.
Define bug-iconv-trans-ENV.
* localedata/bug-iconv-trans.c: New file.

View file

@ -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);
}