diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-04-30 15:15:12 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-04-30 15:15:12 +0000 |
commit | d4ed487af97ef07d2e7043ab42edc5cf94f5bfe9 (patch) | |
tree | 4a7394c006f887e004218193ab59b4dc4a6dabf2 /sbin/isakmpd | |
parent | f9f9d31e96c4f009963f7e4bbfff6163d960d880 (diff) |
cast size_t to unsigned long and use %lu;ok ho
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/conf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/isakmpd/conf.c b/sbin/isakmpd/conf.c index 387fe39e86c..73faeab4d31 100644 --- a/sbin/isakmpd/conf.c +++ b/sbin/isakmpd/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.49 2003/02/04 20:02:34 markus Exp $ */ +/* $OpenBSD: conf.c,v 1.50 2003/04/30 15:15:11 jason Exp $ */ /* $EOM: conf.c,v 1.48 2000/12/04 02:04:29 angelos Exp $ */ /* @@ -253,7 +253,8 @@ conf_parse_line (int trans, char *line, size_t sz) section = malloc (i); if (!section) { - log_print ("conf_parse_line: %d: malloc (%d) failed", ln, i); + log_print ("conf_parse_line: %d: malloc (%lu) failed", ln, + (unsigned long)i); return; } strlcpy (section, line + 1, i); |