summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--kexec/kexec.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index db72776..4dbf6b2 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ DESTDIR =
EXTRA_CPPFLAGS:= -I./include -I./util_lib/include \
-DVERSION='"$(VERSION)"' -DRELEASE_DATE='"$(DATE)"' \
- $(DEFS) $(EXTRA_CFLAGS)
+ -DPACKAGE='"$(PACKAGE)"' $(DEFS) $(EXTRA_CFLAGS)
PREFIX:=$(OBJDIR)/build
SBINDIR=$(PREFIX)/sbin
diff --git a/kexec/kexec.c b/kexec/kexec.c
index 204a4b8..a00bec9 100644
--- a/kexec/kexec.c
+++ b/kexec/kexec.c
@@ -707,7 +707,7 @@ static int my_exec(void)
static void version(void)
{
- printf("kexec " VERSION " released " RELEASE_DATE "\n");
+ printf(PACKAGE " " VERSION " released " RELEASE_DATE "\n");
}
void usage(void)