mirror of
https://github.com/microsoft/plcrashreporter.git
synced 2026-01-18 04:01:18 +01:00
Update PLCrashLogWriter.m
Fix typo in error text
This commit is contained in:
committed by
GitHub
parent
6752f71de2
commit
296dc24b9f
@@ -338,7 +338,7 @@ plcrash_error_t plcrash_log_writer_init (plcrash_log_writer_t *writer,
|
||||
PLCrashProcessInfo *pinfo = [PLCrashProcessInfo currentProcessInfo];
|
||||
if (pinfo == nil) {
|
||||
/* Should only occur if the process is no longer valid */
|
||||
PLCF_DEBUG("Could not retreive process info for target");
|
||||
PLCF_DEBUG("Could not retrieve process info for target");
|
||||
return PLCRASH_EINVAL;
|
||||
}
|
||||
|
||||
@@ -375,7 +375,7 @@ plcrash_error_t plcrash_log_writer_init (plcrash_log_writer_t *writer,
|
||||
plprotobuf_cbinary_data_nsstring_init(&writer->process_info.parent_process_name, parentInfo.processName);
|
||||
}
|
||||
} else {
|
||||
PLCF_DEBUG("Could not retreive parent process name: %s", strerror(errno));
|
||||
PLCF_DEBUG("Could not retrieve parent process name: %s", strerror(errno));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user