Signed-off-by: Sage Weil <sage@redhat.com>
static void watch_notify2_test_errcb(void *arg, uint64_t cookie, int err)
{
- std::cout << __func__ << " cookie " << cookie << std::endl;
+ std::cout << __func__ << " cookie " << cookie << " err " << err << std::endl;
assert(cookie > 1000);
notify_err = err;
}
}
void handle_error(uint64_t cookie, int err) {
- std::cout << __func__ << " cookie " << cookie << std::endl;
+ std::cout << __func__ << " cookie " << cookie
+ << " err " << err << std::endl;
assert(cookie > 1000);
notify_err = err;
}