Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Clean up pthread_create() error handling
[gitweb.git]
/
run-command.c
diff --git
a/run-command.c
b/run-command.c
index 3c3b8814dfc5120681f44f7451a4018c7e84f60d..decf3239bdd59487ddef507529c3948a180e6c48 100644
(file)
--- a/
run-command.c
+++ b/
run-command.c
@@
-1213,7
+1213,7
@@
int start_async(struct async *async)
{
int err = pthread_create(&async->tid, NULL, run_thread, async);
if (err) {
- error
_errno("cannot create thread"
);
+ error
(_("cannot create async thread: %s"), strerror(err)
);
goto error;
}
}