diff options
Diffstat (limited to 'bfd/peXXigen.c')
-rw-r--r-- | bfd/peXXigen.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c index cc2a5ef..37f4d1a 100644 --- a/bfd/peXXigen.c +++ b/bfd/peXXigen.c @@ -1767,7 +1767,10 @@ _bfd_XX_print_private_bfd_data_common (abfd, vfile) #undef PF /* ctime implies '\n'. */ - fprintf (file, "\nTime/Date\t\t%s", ctime (&pe->coff.timestamp)); + { + time_t t = pe->coff.timestamp; + fprintf (file, "\nTime/Date\t\t%s", ctime (&t)); + } fprintf (file, "\nImageBase\t\t"); fprintf_vma (file, i->ImageBase); fprintf (file, "\nSectionAlignment\t"); |