Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37046736
en ru br
ALT Linux repositórios
S:2.0.4-alt1
5.0: 1.2-alt1

Group :: Rede/Outros
RPM: rds-tools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: rds-tools-1.2-alt.patch
Download


 rds-stress.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/rds-stress.c b/rds-stress.c
index 29dfd05..4422015 100644
--- a/rds-stress.c
+++ b/rds-stress.c
@@ -767,6 +767,7 @@ static void rds_fill_buffer(void *buf, size_t size, uint64_t pattern)
 }
 
 
+#if 0
 static void  rds_dump_buffer(const void *buf, size_t size)
 {
 	const uint64_t *pos;
@@ -784,6 +785,7 @@ static void  rds_dump_buffer(const void *buf, size_t size)
 		printf(" %016Lx", (unsigned long long) *pos++);
 	}
 }
+#endif
 
 static void rds_compare_buffer(uint64_t *addr, int size, uint64_t pattern)
 {
@@ -1858,7 +1860,7 @@ get_perfdata(int initialize)
 	}
 
 	if (item_size > sizeof(*ctr))
-		die("Bad counter item size in RDS_INFO_COUNTERS (got %d, max %ld)\n",
+		die("Bad counter item size in RDS_INFO_COUNTERS (got %d, max %zd)\n",
 				item_size, sizeof(*ctr));
 	count = buflen / item_size;
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009