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 Use proper format string



details:   https://anonhg.NetBSD.org/src/rev/f8c3f6aadb36
branches:  trunk
changeset: 765351:f8c3f6aadb36
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue May 24 14:26:55 2011 +0000

description:
Use proper format string

diffstat:

 crypto/external/bsd/openssh/dist/auth1.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r aca2cec17d05 -r f8c3f6aadb36 crypto/external/bsd/openssh/dist/auth1.c
--- a/crypto/external/bsd/openssh/dist/auth1.c  Tue May 24 14:18:03 2011 +0000
+++ b/crypto/external/bsd/openssh/dist/auth1.c  Tue May 24 14:26:55 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: auth1.c,v 1.3 2010/11/21 18:29:48 adam Exp $   */
+/*     $NetBSD: auth1.c,v 1.4 2011/05/24 14:26:55 joerg Exp $  */
 /* $OpenBSD: auth1.c,v 1.74 2010/06/25 08:46:17 djm Exp $ */
 /*
  * Copyright (c) 1995 Tatu Ylonen <ylo%cs.hut.fi@localhost>, Espoo, Finland
@@ -12,7 +12,7 @@
  */
 
 #include "includes.h"
-__RCSID("$NetBSD: auth1.c,v 1.3 2010/11/21 18:29:48 adam Exp $");
+__RCSID("$NetBSD: auth1.c,v 1.4 2011/05/24 14:26:55 joerg Exp $");
 #include <sys/types.h>
 #include <sys/queue.h>
 
@@ -390,7 +390,7 @@
                                        msg[len] = '\0';
                        else
                                msg = "Access denied.";
-                       packet_disconnect(msg);
+                       packet_disconnect("%s", msg);
                }
 #endif
 



Home | Main Index | Thread Index | Old Index