upstream: oops, missed one more %p

OpenBSD-Commit-ID: e7e62818d1564cc5cd9086eaf7a51cbd1a9701eb
This commit is contained in:
djm@openbsd.org 2021-08-11 05:21:32 +00:00 committed by Damien Miller
parent b5aa27b69a
commit 750c1a45ba
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: sshbuf-misc.c,v 1.16 2020/06/22 05:54:10 djm Exp $ */ /* $OpenBSD: sshbuf-misc.c,v 1.17 2021/08/11 05:21:32 djm Exp $ */
/* /*
* Copyright (c) 2011 Damien Miller * Copyright (c) 2011 Damien Miller
* *
@ -65,7 +65,7 @@ sshbuf_dump_data(const void *s, size_t len, FILE *f)
void void
sshbuf_dump(const struct sshbuf *buf, FILE *f) sshbuf_dump(const struct sshbuf *buf, FILE *f)
{ {
fprintf(f, "buffer %p len = %zu\n", buf, sshbuf_len(buf)); fprintf(f, "buffer len = %zu\n", sshbuf_len(buf));
sshbuf_dump_data(sshbuf_ptr(buf), sshbuf_len(buf), f); sshbuf_dump_data(sshbuf_ptr(buf), sshbuf_len(buf), f);
} }