Fix indent.
Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
8534caa69e
commit
8894ca4817
@ -5627,26 +5627,30 @@ parse_args(char* argv[], int argc, bool *use_pathp, int *fdp)
|
|||||||
print_usage(argv[0]);
|
print_usage(argv[0]);
|
||||||
_exit(0);
|
_exit(0);
|
||||||
} else if (opt == 'f') {
|
} else if (opt == 'f') {
|
||||||
/*
|
/*
|
||||||
* -f XX can be used to specify a descriptor for the
|
* -f XX can be used to specify a
|
||||||
* binary named at the command line (i.e., the later
|
* descriptor for the binary named at
|
||||||
* argument will specify the process name but the
|
* the command line (i.e., the later
|
||||||
* descriptor is what will actually be executed)
|
* argument will specify the process
|
||||||
*/
|
* name but the descriptor is what
|
||||||
if (j != arglen - 1) {
|
* will actually be executed).
|
||||||
/* -f must be the last option in, e.g., -abcf */
|
*
|
||||||
_rtld_error("Invalid options: %s", arg);
|
* -f must be the last option in, e.g., -abcf.
|
||||||
rtld_die();
|
*/
|
||||||
}
|
if (j != arglen - 1) {
|
||||||
i++;
|
_rtld_error("Invalid options: %s", arg);
|
||||||
fd = parse_integer(argv[i]);
|
rtld_die();
|
||||||
if (fd == -1) {
|
}
|
||||||
_rtld_error("Invalid file descriptor: '%s'",
|
i++;
|
||||||
argv[i]);
|
fd = parse_integer(argv[i]);
|
||||||
rtld_die();
|
if (fd == -1) {
|
||||||
}
|
_rtld_error(
|
||||||
*fdp = fd;
|
"Invalid file descriptor: '%s'",
|
||||||
break;
|
argv[i]);
|
||||||
|
rtld_die();
|
||||||
|
}
|
||||||
|
*fdp = fd;
|
||||||
|
break;
|
||||||
} else if (opt == 'p') {
|
} else if (opt == 'p') {
|
||||||
*use_pathp = true;
|
*use_pathp = true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user