Add initializations missed in r315728.

X-MFC With:	r315728
This commit is contained in:
Mark Johnston 2017-03-22 18:33:29 +00:00
parent 8440c5e621
commit 643fc6b26f

View File

@ -184,6 +184,9 @@ proc_create(const char *file, char * const *argv, proc_child_func *pcf,
if (elf_version(EV_CURRENT) == EV_NONE)
return (ENOENT);
error = 0;
phdl = NULL;
/* Fork a new process. */
if ((pid = vfork()) == -1)
error = errno;