X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsptps_test.c;h=38e8b50da1a16e9593692a736689a0f496faf9b0;hb=28be4baae016a5a771d0d9ec6e97ef38a4fc9e46;hp=b26615e123050aea029fc43193942c7ca782bcb5;hpb=e62fd508158749a0d55eae06c2e361df5d6da6e0;p=tinc diff --git a/src/sptps_test.c b/src/sptps_test.c index b26615e1..38e8b50d 100644 --- a/src/sptps_test.c +++ b/src/sptps_test.c @@ -154,7 +154,7 @@ static struct option const long_options[] = { }; static void usage(void) { - static const char *message = + fprintf(stderr, "Usage: %s [options] my_ed25519_key_file his_ed25519_key_file [host] port\n" "\n" "Valid options are:\n" @@ -172,9 +172,8 @@ static void usage(void) { " -4 Use IPv4.\n" " -6 Use IPv6.\n" "\n" - "Report bugs to tinc@tinc-vpn.org.\n"; - - fprintf(stderr, message, program_name); + "Report bugs to tinc@tinc-vpn.org.\n", + program_name); } #ifdef HAVE_WINDOWS