]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream commit
authordtucker@openbsd.org <dtucker@openbsd.org>
Mon, 18 Sep 2017 12:03:24 +0000 (12:03 +0000)
committerDamien Miller <djm@mindrot.org>
Tue, 19 Sep 2017 04:26:43 +0000 (14:26 +1000)
Prevent type mismatch warning in debug on platforms where
sig_atomic_t != int.  ok djm@

Upstream-ID: 306e2375eb0364a4c68e48f091739bea4f4892ed

mux.c

diff --git a/mux.c b/mux.c
index f8510426daa5ae574dde26a11ddd12a0ccf5510e..ad0b7a23035c7f0101373cdd835a7d5fd8080c29 100644 (file)
--- a/mux.c
+++ b/mux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mux.c,v 1.67 2017/09/12 06:35:32 djm Exp $ */
+/* $OpenBSD: mux.c,v 1.68 2017/09/18 12:03:24 dtucker Exp $ */
 /*
  * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
  *
@@ -2001,7 +2001,7 @@ mux_client_request_session(int fd)
                leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
 
        if (muxclient_terminate) {
-               debug2("Exiting on signal %d", muxclient_terminate);
+               debug2("Exiting on signal %ld", (long)muxclient_terminate);
                exitval = 255;
        } else if (!exitval_seen) {
                debug2("Control master terminated unexpectedly");