From 008d788f9b3a27f6fbd32d7e4ac8e525c9b408b6 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 11 Dec 2014 06:29:39 -0800 Subject: [PATCH] ceph_test_rados_api_watch_notify: print err to debug Signed-off-by: Sage Weil --- src/test/librados/watch_notify.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/librados/watch_notify.cc b/src/test/librados/watch_notify.cc index 3e508025a9bee..c28eb9f75e6d3 100644 --- a/src/test/librados/watch_notify.cc +++ b/src/test/librados/watch_notify.cc @@ -66,7 +66,7 @@ static void watch_notify2_test_cb(void *arg, 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; } @@ -89,7 +89,8 @@ public: } 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; } -- 2.39.5