summaryrefslogtreecommitdiff
path: root/src/objdump.c
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2015-04-14 11:59:36 +0200
committerMark Wielaard <mjw@redhat.com>2015-04-14 11:59:36 +0200
commit587c4b3e94c6ef877137d067d5d0f574f69b1391 (patch)
tree72541ea8294caf45b016127580ef0d9ee3847fd8 /src/objdump.c
parentaba6d762ed1f3a9c318ebee20cd08bcd069a3f75 (diff)
downloadelfutils-587c4b3e94c6ef877137d067d5d0f574f69b1391.tar.gz
src: Remove __DATE__ from internal error messages.
The date didn't really add much information (it is the day on which the code happened to be compiled) and it prevents creating reproducible builds. Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'src/objdump.c')
-rw-r--r--src/objdump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/objdump.c b/src/objdump.c
index 87290ccb..b689024b 100644
--- a/src/objdump.c
+++ b/src/objdump.c
@@ -1,5 +1,5 @@
/* Print information from ELF file in human-readable form.
- Copyright (C) 2005, 2006, 2007, 2009, 2011, 2012, 2014 Red Hat, Inc.
+ Copyright (C) 2005, 2006, 2007, 2009, 2011, 2012, 2014, 2015 Red Hat, Inc.
This file is part of elfutils.
Written by Ulrich Drepper <drepper@redhat.com>, 2005.
@@ -101,8 +101,8 @@ static int handle_elf (Elf *elf, const char *prefix, const char *fname,
#define INTERNAL_ERROR(fname) \
- error (EXIT_FAILURE, 0, gettext ("%s: INTERNAL ERROR %d (%s-%s): %s"), \
- fname, __LINE__, PACKAGE_VERSION, __DATE__, elf_errmsg (-1))
+ error (EXIT_FAILURE, 0, gettext ("%s: INTERNAL ERROR %d (%s): %s"), \
+ fname, __LINE__, PACKAGE_VERSION, elf_errmsg (-1))
/* List of sections which should be used. */