summaryrefslogtreecommitdiff
path: root/llmnr-query.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-02-18 14:25:08 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-02-18 14:25:08 +0100
commit2eedbf21ac62b5e15f5ba896b1e8b7125c8052de (patch)
treeaa26080f3b751f22f467e07804375c2133dc5310 /llmnr-query.c
parent083023711b5248c5511185e536679020b6696486 (diff)
build: Check if called from git repo when generating GIT_VERSION
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'llmnr-query.c')
-rw-r--r--llmnr-query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llmnr-query.c b/llmnr-query.c
index 3635a53..a1fac67 100644
--- a/llmnr-query.c
+++ b/llmnr-query.c
@@ -61,9 +61,9 @@ static void __noreturn usage_and_exit(int status)
static void __noreturn version_and_exit(void)
{
- fprintf(stdout, "llmnr-query %s (git id %s)\n"
+ fprintf(stdout, "llmnr-query %s %s\n"
"Copyright (C) 2015 Tobias Klauser <tklauser@distanz.ch>\n"
- "Licensed unter the GNU General Public License, version 2\n",
+ "Licensed under the GNU General Public License, version 2\n",
VERSION_STRING, GIT_VERSION);
exit(EXIT_SUCCESS);
}