]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: fix debug print in aio_write
authorSage Weil <sage@inktank.com>
Tue, 27 Aug 2013 15:30:50 +0000 (08:30 -0700)
committerSage Weil <sage@inktank.com>
Tue, 27 Aug 2013 15:30:50 +0000 (08:30 -0700)
Reported-by: James Harper <james.harper@bendigoit.com.au>
Signed-off-by: Sage Weil <sage@inktank.com>
src/librbd/internal.cc

index 9c9ae16dfa4ee8b21560d07e60d11e51f5103364..abc6ff92a28b2e41193de5ec4fb282d27818542e 100644 (file)
@@ -2845,7 +2845,7 @@ reprotect_and_return_err:
   {
     CephContext *cct = ictx->cct;
     ldout(cct, 20) << "aio_write " << ictx << " off = " << off << " len = "
-                  << len << " buf = " << &buf << dendl;
+                  << len << " buf = " << (void*)buf << dendl;
 
     if (!len)
       return 0;