summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2013-08-06 23:06:02 +0000
committerDamien Miller <djm@cvs.openbsd.org>2013-08-06 23:06:02 +0000
commitf02a57dab9a625b379362cbb23242686c45f7301 (patch)
treec7f1db74e43d794cda7b7fea720e579579be5613 /usr.bin
parenta98ebc36f59cfadcd0c2b40e9ca472675a43eaf6 (diff)
add cast to avoid format warning; from portable
Diffstat (limited to 'usr.bin')
-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();
}