tree-wide: introduce strerror_safe()
This commit is contained in:
+1
-1
@@ -4891,7 +4891,7 @@ static void exec_command_dump(ExecCommand *c, FILE *f, const char *prefix) {
|
||||
cmd = exec_command_line(c->argv);
|
||||
fprintf(f,
|
||||
"%sCommand Line: %s\n",
|
||||
prefix, cmd ? cmd : strerror(ENOMEM));
|
||||
prefix, cmd ? cmd : strerror_safe(ENOMEM));
|
||||
|
||||
exec_status_dump(&c->exec_status, f, prefix2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user