Yet another try to fix printf format conflict.
(cherry picked from commit 2e7797cd9bba4fa82391b53a7dd7aac074baf716)