diff --git a/contacts/src/contacts_telephony_permission.cpp b/contacts/src/contacts_telephony_permission.cpp index 0b0b29ea7e49fa1181d6874f4987a9bb74a2a04d..d7a613ce0c36fb3b90f93b42626dbdc5773c3494 100644 --- a/contacts/src/contacts_telephony_permission.cpp +++ b/contacts/src/contacts_telephony_permission.cpp @@ -53,8 +53,8 @@ bool ContactsTelephonyPermission::CheckPermission(const std::string &permissionN auto callerToken = IPCSkeleton::GetCallingTokenID(); auto callerPid = IPCSkeleton::GetCallingPid(); - HILOG_INFO("contactsCheckPermission, get callerPid = %{public}d, permission = %{public}s, ts = %{public}lld", - callerPid, permissionName.c_str(), time(NULL)); + HILOG_INFO("contactsCheckPermission, get callerPid = %{public}d, permission = %{public}s", + callerPid, permissionName.c_str()); auto tokenType = AccessTokenKit::GetTokenTypeFlag(callerToken); int result = PermissionState::PERMISSION_DENIED; if (tokenType == ATokenTypeEnum::TOKEN_NATIVE) {