Skip to content

Commit

Permalink
Fixed incorrect printf() usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 11, 2009
1 parent 896d4cb commit 1b0e087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/fatelf-utils.c
Expand Up @@ -218,7 +218,7 @@ void xread_elf_header(const char *fname, const int fd, const uint64_t offset,
xlseek(fname, fd, offset, SEEK_SET);
xread(fname, fd, buf, sizeof (buf), 1);
if (memcmp(magic, buf, sizeof (magic)) != 0)
xfail("'%s' is not an ELF binary");
xfail("'%s' is not an ELF binary", fname);

record->osabi = buf[7];
record->osabi_version = buf[8];
Expand Down

0 comments on commit 1b0e087

Please sign in to comment.