aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/net-snmp-devel/files/patch-snmpUDPDomain.c
blob: 8ed548828d8cf523176006766f2b1e2fcf40b413 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- snmplib/snmpUDPDomain.c.orig    Mon Jan 24 10:47:16 2005
+++ snmplib/snmpUDPDomain.c Mon Jan 24 10:47:41 2005
@@ -88,7 +88,7 @@
     } else {
    char tmp[64];
 
-        sprintf(tmp, "UDP: [%s]:%hd",
+        sprintf(tmp, "UDP: [%s]:%hu",
                 inet_ntoa(to->sin_addr), ntohs(to->sin_port));
         return strdup(tmp);
     }