aboutsummaryrefslogtreecommitdiff
path: root/sbin/growfs/growfs.c
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2018-12-05 19:18:16 +0000
committerBrooks Davis <brooks@FreeBSD.org>2018-12-05 19:18:16 +0000
commit827c3852fed2515cf2a557c88fe4b3ecfa01b752 (patch)
treeab92154d81c35e68277ec1ba1db318b4b04ccc8c /sbin/growfs/growfs.c
parent749cdf6f3ba78a5c02b249265a08c29cf999e0cf (diff)
downloadsrc-827c3852fed2515cf2a557c88fe4b3ecfa01b752.tar.gz
src-827c3852fed2515cf2a557c88fe4b3ecfa01b752.zip
Further simplify arguments to init.
With the removal of BOOTCDROM and fastboot support, this code always passed "-s" or "--". The latter simply terminates getopt(3) processing in init so we only need to pass "-s" in the single user case, or nothing in other cases. The passing of "--" seems to have been done to ensure that the number of arguments passed to init was always the same and thus that argc was the same. Also GC the write-only variable pathlen (not in reviewed version). Reviewed by: kib, jhb Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18441
Notes
Notes: svn path=/head/; revision=341604
Diffstat (limited to 'sbin/growfs/growfs.c')
0 files changed, 0 insertions, 0 deletions