diff options
author | 2015-10-15 23:51:40 +0000 | |
---|---|---|
committer | 2015-10-15 23:51:40 +0000 | |
commit | 12b6b6cb200430ee535df72dfc952cd08156b937 (patch) | |
tree | 61f3e929042e3a815879767db533f4bd8bf74262 /usr.bin/ssh/ssh-add.c | |
parent | Do not abuse .Nm for emphasis; (diff) | |
download | wireguard-openbsd-12b6b6cb200430ee535df72dfc952cd08156b937.tar.xz wireguard-openbsd-12b6b6cb200430ee535df72dfc952cd08156b937.zip |
fix some signed/unsigned integer type mismatches in format
strings; reported by Nicholas Lemonias
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
-rw-r--r-- | usr.bin/ssh/ssh-add.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c index bfbcd6c3180..3eebd5e47b3 100644 --- a/usr.bin/ssh/ssh-add.c +++ b/usr.bin/ssh/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 @@ -376,7 +376,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], |