summaryrefslogtreecommitdiff
path: root/lib/libkeynote/keynote-keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libkeynote/keynote-keygen.c')
-rw-r--r--lib/libkeynote/keynote-keygen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libkeynote/keynote-keygen.c b/lib/libkeynote/keynote-keygen.c
index ba34d96226e..2f9c9b35a53 100644
--- a/lib/libkeynote/keynote-keygen.c
+++ b/lib/libkeynote/keynote-keygen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keynote-keygen.c,v 1.13 2001/07/07 00:23:54 millert Exp $ */
+/* $OpenBSD: keynote-keygen.c,v 1.14 2001/07/10 16:44:53 deraadt Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
*
@@ -162,7 +162,8 @@ keynote_keygen(int argc, char *argv[])
if (strlen(algname) + 2 > prlen)
{
fprintf(stderr, "Parameter ``print-length'' should be larger "
- "than the length of AlgorithmName (%lu)\n", strlen(algname));
+ "than the length of AlgorithmName (%lu)\n",
+ (unsigned long)strlen(algname));
exit(1);
}