libthread: fix typo in _runthreadspawn
This commit is contained in:
committed by
Dan Cross
parent
6654cad3c5
commit
ae4fdf4268
@@ -49,7 +49,7 @@ _runthreadspawn(int *fd, char *cmd, char **argv, char *dir)
|
|||||||
if(e->argv[i] == nil)
|
if(e->argv[i] == nil)
|
||||||
sysfatal("out of memory");
|
sysfatal("out of memory");
|
||||||
}
|
}
|
||||||
if(e->dir != nil) {
|
if(dir != nil) {
|
||||||
e->dir = strdup(dir);
|
e->dir = strdup(dir);
|
||||||
if(e->dir == nil)
|
if(e->dir == nil)
|
||||||
sysfatal("out of memory");
|
sysfatal("out of memory");
|
||||||
|
|||||||
Reference in New Issue
Block a user