summaryrefslogtreecommitdiffstats
path: root/compat/dund.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/dund.c
parent499f651f1130465e58087e5c80c12a0c5776cd56 (diff)
Don't use VERSION in a string literal
Diffstat (limited to 'compat/dund.c')
-rw-r--r--compat/dund.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/dund.c b/compat/dund.c
index cf4145e8..a0124268 100644
--- a/compat/dund.c
+++ b/compat/dund.c
@@ -406,7 +406,7 @@ static struct option main_lopts[] = {
static const char *main_sopts = "hsc:k:Kr:i:lnp::DQ::AESMP:C::P:Xam:u";
static const char *main_help =
- "Bluetooth LAP (LAN Access over PPP) daemon version " VERSION " \n"
+ "Bluetooth LAP (LAN Access over PPP) daemon version %s\n"
"Usage:\n"
"\tdund <options> [pppd options]\n"
"Options:\n"
@@ -550,7 +550,7 @@ int main(int argc, char *argv[])
case 'h':
default:
- printf(main_help);
+ printf(main_help, VERSION);
exit(0);
}
}
@@ -581,7 +581,7 @@ int main(int argc, char *argv[])
return 0;
case NONE:
- printf(main_help);
+ printf(main_help, VERSION);
return 0;
}