Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssh/dist Fix printf format error.



details:   https://anonhg.NetBSD.org/src/rev/993eda8bfa94
branches:  trunk
changeset: 1010573:993eda8bfa94
user:      christos <christos%NetBSD.org@localhost>
date:      Fri May 29 12:14:49 2020 +0000

description:
Fix printf format error.

diffstat:

 crypto/external/bsd/openssh/dist/scp.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r f233a06671ce -r 993eda8bfa94 crypto/external/bsd/openssh/dist/scp.c
--- a/crypto/external/bsd/openssh/dist/scp.c    Fri May 29 11:01:53 2020 +0000
+++ b/crypto/external/bsd/openssh/dist/scp.c    Fri May 29 12:14:49 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scp.c,v 1.26 2020/05/28 17:05:49 christos Exp $        */
+/*     $NetBSD: scp.c,v 1.27 2020/05/29 12:14:49 christos Exp $        */
 /* $OpenBSD: scp.c,v 1.210 2020/05/06 20:57:38 djm Exp $ */
 /*
  * scp - secure remote copy.  This is basically patched BSD rcp which
@@ -73,7 +73,7 @@
  */
 
 #include "includes.h"
-__RCSID("$NetBSD: scp.c,v 1.26 2020/05/28 17:05:49 christos Exp $");
+__RCSID("$NetBSD: scp.c,v 1.27 2020/05/29 12:14:49 christos Exp $");
 
 #include <sys/param.h> /* roundup MAX */
 #include <sys/types.h>
@@ -366,7 +366,7 @@
 int okname(char *);
 void run_err(const char *,...) __printflike(1, 2);
 void run_err(const char *,...) __printflike(1, 2);
-int note_err(const char *,...);
+int note_err(const char *,...) __printflike(1, 2);
 void verifydir(char *);
 
 struct passwd *pwd;
@@ -1503,7 +1503,7 @@
                                }
                }
                if (close(ofd) == -1)
-                       note_err(np, "%s: close: %s", np, strerror(errno));
+                       note_err("%s: close: %s", np, strerror(errno));
                (void) response();
                if (showprogress)
                        stop_progress_meter();



Home | Main Index | Thread Index | Old Index