fix for compile error which occurs when "-Werror=format-security" compiler flag is enabled