diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-08-15 00:06:07 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-08-15 00:06:07 +0200 |
commit | 7bb660b5c5e5e3513ac0374bae3b82a26c109f49 (patch) | |
tree | f7cdf8f517da30f1b2e53b57df54f01816c61957 | |
parent | 499f651f1130465e58087e5c80c12a0c5776cd56 (diff) |
Don't use VERSION in a string literal
-rw-r--r-- | compat/dund.c | 6 | ||||
-rw-r--r-- | compat/pand.c | 6 |
2 files changed, 6 insertions, 6 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; } 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; } |