progs: Fix a number of format-related errors.
[u/mdw/catacomb] / progs / key.c
index f263aaf..fe5f313 100644 (file)
@@ -290,7 +290,7 @@ static mp *getmp(key_data *k, const char *tag)
   if (!k)
     die(EXIT_FAILURE, "unexpected failure looking up subkey `%s'", tag);
   if ((k->e & KF_ENCMASK) != KENC_MP)
-    die(EXIT_FAILURE, "subkey `%s' has an incompatible type");
+    die(EXIT_FAILURE, "subkey `%s' has an incompatible type", tag);
   return (k->u.m);
 }