aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/chap.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2007-12-06 14:16:46 -0600
committerMichael Brown <mcb30@etherboot.org>2007-12-06 14:16:46 -0600
commit1949641d102b0fdc8d4314abaee9ba055481fcc0 (patch)
tree0c302355c988e9b1d2c942bb1cc6d6170a933944 /src/crypto/chap.c
parent798f7f6b8e007a6075222c2491ddc1416ce937a9 (diff)
downloadipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.zip
ipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.tar.gz
ipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.tar.bz2
Fix compiler warnings that appear only on OpenBSD.
Diffstat (limited to 'src/crypto/chap.c')
-rw-r--r--src/crypto/chap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/chap.c b/src/crypto/chap.c
index 2f62456..13b8fda 100644
--- a/src/crypto/chap.c
+++ b/src/crypto/chap.c
@@ -55,7 +55,7 @@ int chap_init ( struct chap_challenge *chap,
state_len = ( digest->ctxsize + digest->digestsize );
state = malloc ( state_len );
if ( ! state ) {
- DBG ( "CHAP %p could not allocate %d bytes for state\n",
+ DBG ( "CHAP %p could not allocate %zd bytes for state\n",
chap, state_len );
return -ENOMEM;
}