summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-10 16:44:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-10 16:44:54 +0000
commitcfe8cfd258e8ad3a2ae2330df047424fbf597b85 (patch)
tree681c4cb85656bc740b574ae7b05bfec63d5c4cbe /lib
parent292ff9a09a674e1e692890a04495d609817d3c58 (diff)
-Wall
Diffstat (limited to 'lib')
-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);
}