diff options
Diffstat (limited to 'nexus/PropertyManager.cpp')
-rw-r--r-- | nexus/PropertyManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nexus/PropertyManager.cpp b/nexus/PropertyManager.cpp index 3366bab..6faf9b8 100644 --- a/nexus/PropertyManager.cpp +++ b/nexus/PropertyManager.cpp @@ -37,7 +37,8 @@ int PropertyManager::registerProperty(const char *name, IPropertyProvider *pp) { for (it = mPropertyPairs->begin(); it != mPropertyPairs->end(); ++it) { if (!strcmp(name, (*it)->getName())) { errno = EADDRINUSE; - LOGE("Failed to register property (%s)", strerror(errno)); + LOGE("Failed to register property %s (%s)", + name, strerror(errno)); pthread_mutex_unlock(&mLock); return -1; } |