mirror of
https://salsa.debian.org/ha-team/libqb
synced 2026-01-16 06:05:08 +00:00
Here's another fix. In adjusting the printf, I added a cast and switched to %5ld. I would have preferred to use %5jd as the printf format (i.e., then no cast is needed), but saw no other uses of the "j" directive, so perhaps you do not yet depend on printf with such support. From 6d5d3af35d1f6851537f7af8996d1106c1ebe435 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering@redhat.com> Date: Wed, 18 Jul 2012 17:54:38 +0200 Subject: [PATCH] tests/rbwriter: don't ignore write failure Spotted by coverity: This less-than-zero comparison of an unsigned value is never true. "res < 0U". http://libqb.org/html/0.14.1/coverity/1/7rbwriter.c.html#error Signed-off-by: Angus Salkeld <asalkeld@redhat.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| bench-log.c | ||
| bmc.c | ||
| bmcpt.c | ||
| bms.c | ||
| check_array.c | ||
| check_ipc.c | ||
| check_log.c | ||
| check_loop.c | ||
| check_map.c | ||
| check_rb.c | ||
| check_util.c | ||
| loop.c | ||
| make-log-test.sh | ||
| Makefile.am | ||
| rbreader.c | ||
| rbwriter.c | ||
| resources.test | ||