]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
client: print stat mode in octal
authorPatrick Donnelly <pdonnell@ibm.com>
Tue, 25 Feb 2025 02:13:18 +0000 (21:13 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Thu, 27 Feb 2025 18:41:52 +0000 (13:41 -0500)
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/client/Client.cc

index 57a4fbcb4513796b97e1475ff65dcb373897072a..5216a8af1b3ed2a61295b44f79bb17e217e71b5e 100644 (file)
@@ -8183,7 +8183,7 @@ int Client::_do_setattr(Inode *in, struct ceph_statx *stx, int mask,
   }
 
   if (mask & CEPH_SETATTR_MODE) {
-    ldout(cct,10) << "changing mode to " << stx->stx_mode << dendl;
+    ldout(cct,10) << "changing mode to " << std::oct << stx->stx_mode << dendl;
 
     if (!do_sync && in->caps_issued_mask(CEPH_CAP_AUTH_EXCL)) {
       in->ctime = ceph_clock_now();