X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsptps_test.c;h=38e8b50da1a16e9593692a736689a0f496faf9b0;hb=a0fbaf0889fda3788943baec80671ecc870a2925;hp=b26615e123050aea029fc43193942c7ca782bcb5;hpb=d93d4f9dbd09bc5e53a9b5eeb1cc94939fee32bc;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