summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2017-08-12 20:51:58 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2017-08-12 20:53:52 +0200
commit468656b4aab5bc0040e3ecbfd7f66f52a15da76d (patch)
tree374f7e00ae1ac60c4f1e4d12d0d362e900e280fa
parenta5ec3aca7d9355abf580faf88bd9bf1e871164cb (diff)
fix format
Argument no. 3 nominally inconsistent with format (int vs. unsigned int)
-rw-r--r--dropbearkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dropbearkey.c b/dropbearkey.c
index 316d27e..dd0e697 100644
--- a/dropbearkey.c
+++ b/dropbearkey.c
@@ -241,7 +241,7 @@ int main(int argc, char ** argv) {
}
genbits = signkey_generate_get_bits(keytype, bits);
- fprintf(stderr, "Generating %d bit %s key, this may take a while...\n", genbits, typetext);
+ fprintf(stderr, "Generating %u bit %s key, this may take a while...\n", genbits, typetext);
if (signkey_generate(keytype, bits, filename, 0) == DROPBEAR_FAILURE)
{
dropbear_exit("Failed to generate key.\n");