summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2013-08-06 23:06:01 +0000
committerdjm <djm@openbsd.org>2013-08-06 23:06:01 +0000
commit54000299723fecdc7b8f5267545891c32df02578 (patch)
tree28aed4dd2a0a238c7d731d4480ab3094c08af7af
parentdocument top-level -a option (the -a option to 'get' was already documented) (diff)
downloadwireguard-openbsd-54000299723fecdc7b8f5267545891c32df02578.tar.xz
wireguard-openbsd-54000299723fecdc7b8f5267545891c32df02578.zip
add cast to avoid format warning; from portable
-rw-r--r--usr.bin/ssh/servconf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/servconf.c b/usr.bin/ssh/servconf.c
index 5ee9bb9db95..3d090470a44 100644
--- a/usr.bin/ssh/servconf.c
+++ b/usr.bin/ssh/servconf.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: servconf.c,v 1.240 2013/07/19 07:37:48 markus Exp $ */
+/* $OpenBSD: servconf.c,v 1.241 2013/08/06 23:06:01 djm Exp $ */
/*
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
@@ -2011,7 +2011,8 @@ dump_config(ServerOptions *o)
printf("ipqos %s ", iptos2str(o->ip_qos_interactive));
printf("%s\n", iptos2str(o->ip_qos_bulk));
- printf("rekeylimit %lld %d\n", o->rekey_limit, o->rekey_interval);
+ printf("rekeylimit %lld %d\n", (long long)o->rekey_limit,
+ o->rekey_interval);
channel_print_adm_permitted_opens();
}