diff options
| author | Alasdair Armstrong | 2019-02-04 21:30:33 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2019-02-04 21:30:33 +0000 |
| commit | 84d30fd9dee6dd4f22a58b55f93ca39d30266c4f (patch) | |
| tree | b4c8e4129d761a45674da9d23a7eaa58e8ad8574 /lib/elf.c | |
| parent | 8347e409564c19963a55e88358eeb88dab6b865c (diff) | |
Fix some warnings
Diffstat (limited to 'lib/elf.c')
| -rw-r--r-- | lib/elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -468,7 +468,7 @@ int lookupSymbol(const char *buffer, const int total_file_size, const char *symn Elf64_Ehdr *ehdr = (Elf64_Ehdr*) &buffer[0]; if (total_file_size < rdOff64(le, ehdr->e_shoff) + rdHalf64(le, ehdr->e_shnum)*sizeof(Elf64_Shdr)) { - fprintf(stderr, "File too small for %d sections from offset %llu\n", + fprintf(stderr, "File too small for %d sections from offset %" PRIu64 "\n", rdHalf64(le, ehdr->e_shnum), rdOff64(le, ehdr->e_shoff)); exit(EXIT_FAILURE); } |
