Source-Changes-HG archive

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

[src/trunk]: src/external/apache2/mDNSResponder/dist/mDNSShared Fix format st...



details:   https://anonhg.NetBSD.org/src/rev/ea604b822367
branches:  trunk
changeset: 355253:ea604b822367
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jul 21 08:49:05 2017 +0000

description:
Fix format strings to reflect exactly the types used.

diffstat:

 external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 3b0b5def98e3 -r ea604b822367 external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c
--- a/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c Fri Jul 21 04:55:36 2017 +0000
+++ b/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c Fri Jul 21 08:49:05 2017 +0000
@@ -177,8 +177,8 @@
                        else
                                syslog(LOG_INFO, "dnssd_clientstub write_all(%d) DEFUNCT", sd);
                        #else
-                       syslog(LOG_WARNING, "dnssd_clientstub write_all(%d) failed %zd/%ld %d %s", sd,
-                               (long)num_written, (long)len,
+                       syslog(LOG_WARNING, "dnssd_clientstub write_all(%d) failed %zd/%zu %d %s", sd,
+                               num_written, len,
                                (num_written < 0) ? dnssd_errno                 : 0,
                                (num_written < 0) ? dnssd_strerror(dnssd_errno) : "");
                        #endif



Home | Main Index | Thread Index | Old Index