SOURCES: rpcbind-format.patch (NEW) - fix sprintf format
baggins
baggins at pld-linux.org
Tue Apr 24 17:11:01 CEST 2007
Author: baggins Date: Tue Apr 24 15:11:01 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix sprintf format
---- Files affected:
SOURCES:
rpcbind-format.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/rpcbind-format.patch
diff -u /dev/null SOURCES/rpcbind-format.patch:1.1
--- /dev/null Tue Apr 24 17:11:01 2007
+++ SOURCES/rpcbind-format.patch Tue Apr 24 17:10:56 2007
@@ -0,0 +1,11 @@
+--- rpcbind-0.1.4/src/pmap_svc.c~ 2005-01-03 14:55:50.000000000 +0100
++++ rpcbind-0.1.4/src/pmap_svc.c 2007-04-24 16:30:54.000000000 +0200
+@@ -314,7 +314,7 @@
+ if ((pt2 = strrchr(ua, '.')) != NULL) {
+ *pt2 = 0;
+ snprintf(serveuaddr, sizeof serveuaddr,
+- "%s.%d.%d", ua,
++ "%s.%ld.%ld", ua,
+ (fnd->pml_map.pm_port >> 8) & 0xff,
+ (fnd->pml_map.pm_port) & 0xff);
+ *pt2 = '.';
================================================================
More information about the pld-cvs-commit
mailing list