Loading...
libkern/coreanalytics/coreanalytics_shim.cpp xnu-12377.121.6 xnu-11215.41.3
--- xnu/xnu-12377.121.6/libkern/coreanalytics/coreanalytics_shim.cpp
+++ xnu/xnu-11215.41.3/libkern/coreanalytics/coreanalytics_shim.cpp
@@ -52,12 +52,12 @@
 	if (dict) {
 		service = IOService::waitForMatchingService(dict.get());
 	} else {
-		os_log_with_startup_serial(OS_LOG_DEFAULT, "No service matching %s\n", kCoreAnalyticsMatchingClassName);
+		os_log_with_startup_serial(OS_LOG_DEFAULT, "No service matching %s", kCoreAnalyticsMatchingClassName);
 	}
 	if (service) {
 		return service.detach();
 	} else {
-		os_log_with_startup_serial(OS_LOG_DEFAULT, "Unable to match CoreAnalyticsHub\n");
+		os_log_with_startup_serial(OS_LOG_DEFAULT, "Unable to match CoreAnalyticsHub");
 		return nullptr;
 	}
 }
@@ -200,5 +200,5 @@
 		panic("CoreAnalyticsHub is out of sync with xnu. CoreAnalyticsHub table version: %d. xnu table version: %d", fns->version, CORE_ANALYTICS_FUNCTIONS_TABLE_VERSION);
 	}
 	core_analytics_hub_functions = fns;
-	os_log_with_startup_serial(OS_LOG_DEFAULT, "Registered CoreAnalyticsHub functions with xnu.\n");
-}
+	os_log_with_startup_serial(OS_LOG_DEFAULT, "Registered CoreAnalyticsHub functions with xnu.");
+}