Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 80f5fbfbb1a5c7dc60d511d765e9e1e0 > files > 2

librsync-0.9.7-6mdv2010.0.src.rpm

--- buf.c.str	2009-06-08 06:19:46.000000000 +0200
+++ buf.c	2009-06-08 06:19:58.000000000 +0200
@@ -213,7 +213,7 @@
 
     got = fread(*buf, 1, *len, f);
     if (got == -1) {
-        rs_error(strerror(errno));
+        rs_error("%s", strerror(errno));
         return RS_IO_ERROR;
     } else if (got == 0) {
         rs_error("unexpected eof on fd%d", fileno(f));