]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use strsep() to parse init_path in start_init().
authorbrooks <brooks@FreeBSD.org>
Thu, 17 May 2018 23:07:51 +0000 (23:07 +0000)
committerbrooks <brooks@FreeBSD.org>
Thu, 17 May 2018 23:07:51 +0000 (23:07 +0000)
commit1625a51062b8fb7d202638a8ce0a5c472484bc2c
tree2e441bac4faa57dcd14eed8287f9ade43693ab8e
parent841df736abbe270a4708893a33ee41ec9b69dbf0
Use strsep() to parse init_path in start_init().

This simplifies the use of the path variable by making it NUL
terminated.  This is a prerequisite for further cleanups.

Reviewed by: imp
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D15467
sys/kern/init_main.c