summaryrefslogtreecommitdiffstats
path: root/ssh-add.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-10-16 01:51:40 +0200
committerDamien Miller <djm@mindrot.org>2015-10-16 01:54:08 +0200
commitb1d38a3cc6fe349feb8d16a5f520ef12d1de7cb2 (patch)
treea582897745d044077ea475859be73d0f5ab2158b /ssh-add.c
parentupstream commit (diff)
downloadopenssh-b1d38a3cc6fe349feb8d16a5f520ef12d1de7cb2.tar.xz
openssh-b1d38a3cc6fe349feb8d16a5f520ef12d1de7cb2.zip
upstream commit
fix some signed/unsigned integer type mismatches in format strings; reported by Nicholas Lemonias Upstream-ID: 78cd55420a0eef68c4095bdfddd1af84afe5f95c
Diffstat (limited to 'ssh-add.c')
-rw-r--r--ssh-add.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-add.c b/ssh-add.c
index d8d6481f2..cd13d87e5 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-add.c,v 1.125 2015/09/13 14:39:16 tim Exp $ */
+/* $OpenBSD: ssh-add.c,v 1.126 2015/10/15 23:51:40 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -384,7 +384,7 @@ list_identities(int agent_fd, int do_fp)
if (do_fp) {
fp = sshkey_fingerprint(idlist->keys[i],
fingerprint_hash, SSH_FP_DEFAULT);
- printf("%d %s %s (%s)\n",
+ printf("%u %s %s (%s)\n",
sshkey_size(idlist->keys[i]),
fp == NULL ? "(null)" : fp,
idlist->comments[i],