ldnssec-keygen: fix usage and return value while printing

This commit is contained in:
Lucas 2021-12-11 09:15:00 +00:00
parent 6f48d8b947
commit bfc403b266
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ usage(void)
fprintf(stderr, "Usage:\n" fprintf(stderr, "Usage:\n"
"\t%s [-b bits] algorithm\n" "\t%s [-b bits] algorithm\n"
"\t%s [-a algorithm] [-d domain] [-k] -r ds|dnskey\n", "\t%s -r [-a algorithm] [-d domain] [-k] ds|dnskey\n",
p, p); p, p);
exit(1); exit(1);
} }
@ -92,7 +92,7 @@ print_record_main(ldns_hash hash, int ksk, const char *domain, int argc,
ldns_rr_free(ds_rr); ldns_rr_free(ds_rr);
ldns_key_deep_free(key); ldns_key_deep_free(key);
return 1; return 0;
} }
static int static int