summaryrefslogtreecommitdiffstats
path: root/src/strip.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2015-04-14 11:59:36 +0200
committerMark Wielaard <[email protected]>2015-04-14 11:59:36 +0200
commit587c4b3e94c6ef877137d067d5d0f574f69b1391 (patch)
tree72541ea8294caf45b016127580ef0d9ee3847fd8 /src/strip.c
parentaba6d762ed1f3a9c318ebee20cd08bcd069a3f75 (diff)
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 <[email protected]>
Diffstat (limited to 'src/strip.c')
-rw-r--r--src/strip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/strip.c b/src/strip.c
index 2b217996..c003647a 100644
--- a/src/strip.c
+++ b/src/strip.c
@@ -1,5 +1,5 @@
/* Discard section not used at runtime from object files.
- Copyright (C) 2000-2012, 2014 Red Hat, Inc.
+ Copyright (C) 2000-2012, 2014, 2015 Red Hat, Inc.
This file is part of elfutils.
Written by Ulrich Drepper <[email protected]>, 2000.
@@ -117,8 +117,8 @@ static int handle_ar (int fd, Elf *elf, const char *prefix, const char *fname,
struct timeval tvp[2]);
#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))
/* Name of the output file. */