summaryrefslogtreecommitdiffstats
path: root/compat/pand.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-08-15 00:06:07 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-08-15 00:06:07 +0200
commit7bb660b5c5e5e3513ac0374bae3b82a26c109f49 (patch)
treef7cdf8f517da30f1b2e53b57df54f01816c61957 /compat/pand.c
parent499f651f1130465e58087e5c80c12a0c5776cd56 (diff)
Don't use VERSION in a string literal
Diffstat (limited to 'compat/pand.c')
-rw-r--r--compat/pand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/pand.c b/compat/pand.c
index 4c0fcbd7..393be86f 100644
--- a/compat/pand.c
+++ b/compat/pand.c
@@ -572,7 +572,7 @@ static struct option main_lopts[] = {
static const char *main_sopts = "hsc:k:Kr:d:e:i:lnp::DQ::AESMC::P:u:o:z";
static const char *main_help =
- "Bluetooth PAN daemon version " VERSION " \n"
+ "Bluetooth PAN daemon version %s\n"
"Usage:\n"
"\tpand <options>\n"
"Options:\n"
@@ -712,7 +712,7 @@ int main(int argc, char *argv[])
case 'h':
default:
- printf(main_help);
+ printf(main_help, VERSION);
exit(0);
}
}
@@ -735,7 +735,7 @@ int main(int argc, char *argv[])
return 0;
case NONE:
- printf(main_help);
+ printf(main_help, VERSION);
return 0;
}