diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-19 21:25:18 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-12-19 21:30:39 +0100 |
commit | f878f302caf0e10762bedda0839bb87c0ce1fb92 (patch) | |
tree | f8ba43ae1ebffd5c69daff600e35ff7c7cff5780 | |
parent | 67ccd6b909d28ab84c77acecdfee927337489cc2 (diff) |
Remove duplicate newline in CRT_fatalError calls
-rw-r--r-- | darwin/DarwinProcessList.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/darwin/DarwinProcessList.c b/darwin/DarwinProcessList.c index e5ca5ad8..a2848920 100644 --- a/darwin/DarwinProcessList.c +++ b/darwin/DarwinProcessList.c @@ -72,14 +72,14 @@ static void ProcessList_getHostInfo(host_basic_info_data_t* p) { mach_msg_type_number_t info_size = HOST_BASIC_INFO_COUNT; if (0 != host_info(mach_host_self(), HOST_BASIC_INFO, (host_info_t)p, &info_size)) { - CRT_fatalError("Unable to retrieve host info\n"); + CRT_fatalError("Unable to retrieve host info"); } } static void ProcessList_freeCPULoadInfo(processor_cpu_load_info_t* p) { if (NULL != p && NULL != *p) { if (0 != munmap(*p, vm_page_size)) { - CRT_fatalError("Unable to free old CPU load information\n"); + CRT_fatalError("Unable to free old CPU load information"); } *p = NULL; } @@ -91,7 +91,7 @@ static unsigned ProcessList_allocateCPULoadInfo(processor_cpu_load_info_t* p) { // TODO Improving the accuracy of the load counts woule help a lot. if (0 != host_processor_info(mach_host_self(), PROCESSOR_CPU_LOAD_INFO, &cpu_count, (processor_info_array_t*)p, &info_size)) { - CRT_fatalError("Unable to retrieve CPU info\n"); + CRT_fatalError("Unable to retrieve CPU info"); } return cpu_count; @@ -101,7 +101,7 @@ static void ProcessList_getVMStats(vm_statistics_t p) { mach_msg_type_number_t info_size = HOST_VM_INFO_COUNT; if (host_statistics(mach_host_self(), HOST_VM_INFO, (host_info_t)p, &info_size) != 0) { - CRT_fatalError("Unable to retrieve VM statistics\n"); + CRT_fatalError("Unable to retrieve VM statistics"); } } |