diff options
-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); |