diff dropbearkey.c @ 1458:bdd3802c8ac6

fix format Argument no. 3 nominally inconsistent with format (int vs. unsigned int)
author Francois Perrad <francois.perrad@gadz.org>
date Sat, 12 Aug 2017 20:51:58 +0200
parents 4f8eb331174f
children d32bcb5c557d
line wrap: on
line diff
--- a/dropbearkey.c	Tue Jun 27 23:02:05 2017 +0800
+++ b/dropbearkey.c	Sat Aug 12 20:51:58 2017 +0200
@@ -241,7 +241,7 @@
 	}
 
 	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");