diff --git a/services/param/watcher/proxy/watcher_manager.cpp b/services/param/watcher/proxy/watcher_manager.cpp index 32349f344c0d4e0881f772ec2e10fb23c3ec745e..574de20a2bdf09e349797d6527c1ca1fbc9e82db 100644 --- a/services/param/watcher/proxy/watcher_manager.cpp +++ b/services/param/watcher/proxy/watcher_manager.cpp @@ -39,7 +39,7 @@ WatcherManager::~WatcherManager() uint32_t WatcherManager::AddRemoteWatcher(uint32_t id, const sptr &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");