diff --git a/lustre/utils/obd.c b/lustre/utils/obd.c
index 8c9a2abd0f48c81b145feb811adf135f3aa51e93..85464ed8fce34cc0a5d04b619f795318882d8ce8 100644
--- a/lustre/utils/obd.c
+++ b/lustre/utils/obd.c
@@ -2281,7 +2281,7 @@ int jt_blockdev_info(int argc, char **argv)
         if (ino == 0ULL)
                 fprintf(stdout, "Not attached\n");
         else
-                fprintf(stdout, "attached to inode %llu\n", ino);
+                fprintf(stdout, "attached to inode "LPU64"\n", ino);
 out:
         close(fd);
         return -rc;