提交 aef8c2cf 编写于 作者: C chengjinsong2

修改编译告警

Signed-off-by: Nchengjinsong2 <chengjinsong2@huawei.com>
上级 9ad7c397
......@@ -39,7 +39,7 @@ WatcherManager::~WatcherManager()
uint32_t WatcherManager::AddRemoteWatcher(uint32_t id, const sptr<IWatcher> &watcher)
{
if (id == getpid()) {
WATCHER_LOGE("Failed to add remote watcher %d", id);
WATCHER_LOGE("Failed to add remote watcher %u", id);
return 0;
}
WATCHER_CHECK(watcher != nullptr, return 0, "Invalid remote watcher");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册