summaryrefslogtreecommitdiff
path: root/srcx
diff options
context:
space:
mode:
Diffstat (limited to 'srcx')
-rw-r--r--srcx/jkill.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/srcx/jkill.c b/srcx/jkill.c
index dae91d7..06854c5 100644
--- a/srcx/jkill.c
+++ b/srcx/jkill.c
@@ -116,7 +116,7 @@ int main(int argc, char* argv[])
else
{
- parse_host_opts(argc, argv, 1);
+ parse_host_opts(argc, argv);
argc -= optind;
argv += optind;
@@ -274,7 +274,7 @@ static void parse_jail_opts(int argc, char* argv[])
}
}
-static void parse_host_opts(int argc, char* argv[], int namereq)
+static void parse_host_opts(int argc, char* argv[])
{
int ch;
@@ -329,7 +329,7 @@ static void parse_host_opts(int argc, char* argv[], int namereq)
argc -= optind;
argv += optind;
- if(namereq && argc <= 0)
+ if(argc <= 0)
usage();
}