CELIX-272: Fix log warning text
Project: http://git-wip-us.apache.org/repos/asf/celix/repo Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/f0778a7d Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/f0778a7d Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/f0778a7d Branch: refs/heads/feature/CELIX-272_synchronization_service_registry Commit: f0778a7d080c6cc804721ba5fd8c240ae48fdf45 Parents: 592d65f Author: Pepijn Noltes <[email protected]> Authored: Wed Nov 11 13:57:11 2015 +0100 Committer: Pepijn Noltes <[email protected]> Committed: Wed Nov 11 13:57:11 2015 +0100 ---------------------------------------------------------------------- framework/private/src/service_registry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/celix/blob/f0778a7d/framework/private/src/service_registry.c ---------------------------------------------------------------------- diff --git a/framework/private/src/service_registry.c b/framework/private/src/service_registry.c index d38b07e..9f84ded 100644 --- a/framework/private/src/service_registry.c +++ b/framework/private/src/service_registry.c @@ -226,7 +226,7 @@ celix_status_t serviceRegistry_clearServiceRegistrations(service_registry_pt reg static void serviceRegistry_logWarningServiceRegistration(service_registry_pt registry, service_registration_pt reg) { char *servName = NULL; serviceRegistration_getServiceName(reg, &servName); - fw_log(logger, OSGI_FRAMEWORK_LOG_WARNING, "Dangling service registration for service %s. Look for missing serviceRegistration_unregister", servName); + fw_log(logger, OSGI_FRAMEWORK_LOG_WARNING, "Dangling service registration for service %s. Look for missing serviceRegistration_unregister.", servName); } celix_status_t serviceRegistry_getServiceReference(service_registry_pt registry, bundle_pt owner, @@ -358,10 +358,10 @@ celix_status_t serviceRegistry_ungetServiceReference(service_registry_pt registr void serviceRegistry_logWarningServiceReferenceUsageCount(service_registry_pt registry, size_t usageCount, size_t refCount) { if (usageCount > 0) { - fw_log(logger, OSGI_FRAMEWORK_LOG_WARNING, "Service Reference destroyed will usage count is %zu. Look for missing bundleContext_ungetService calls", usageCount); + fw_log(logger, OSGI_FRAMEWORK_LOG_WARNING, "Service Reference destroyed will usage count is %zu. Look for missing bundleContext_ungetService calls.", usageCount); } if (refCount > 0) { - fw_log(logger, OSGI_FRAMEWORK_LOG_WARNING, "Dangling service reference. Reference count is %zu. Look for missing bundleContext_ungetServiceReference", refCount); + fw_log(logger, OSGI_FRAMEWORK_LOG_WARNING, "Dangling service reference. Reference count is %zu. Look for missing bundleContext_ungetServiceReference.", refCount); } }
