The library link order in librados example Makefile is incorrect
and as a result 'make' throws an error. This change fixes the order.
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
Fixes#15100. The Makefile now by default links and includes from the
current source tree's librados and offers another option for building
examples against the system's.
Signed-off-by: Jesse Williamson <nerd.cpp@gmail.com>
Copy contents of bufferlist to a string before sending to stdout since a
bufferlist is not null terminated.
Fixes: #7822
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>