Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 9b1f7e39314646b10332afdac296ba7d > files > 24

rsh-0.17-38.el5.src.rpm

--- netkit-rsh-0.17/rcp/rcp.c.largefile	2005-11-24 10:38:12.000000000 +0100
+++ netkit-rsh-0.17/rcp/rcp.c	2005-11-24 10:40:28.000000000 +0100
@@ -482,7 +482,7 @@
 			}
 		}
 		(void)snprintf(buf, sizeof(buf),
-		    "C%04o %lld %s\n", stb.st_mode&07777, (long long)(stb.st_size), last);
+		    "C%04o %llu %s\n", stb.st_mode&07777, (unsigned long long)(stb.st_size), last);
 		(void)write(rem, buf, (int)strlen(buf));
 		if (response() < 0) {
 			(void)close(f);