Author: markj Date: Wed Mar 22 18:33:29 2017 New Revision: 315729 URL: https://svnweb.freebsd.org/changeset/base/315729
Log: Add initializations missed in r315728. X-MFC With: r315728 Modified: head/lib/libproc/proc_create.c Modified: head/lib/libproc/proc_create.c ============================================================================== --- head/lib/libproc/proc_create.c Wed Mar 22 18:31:44 2017 (r315728) +++ head/lib/libproc/proc_create.c Wed Mar 22 18:33:29 2017 (r315729) @@ -184,6 +184,9 @@ proc_create(const char *file, char * con if (elf_version(EV_CURRENT) == EV_NONE) return (ENOENT); + error = 0; + phdl = NULL; + /* Fork a new process. */ if ((pid = vfork()) == -1) error = errno; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"