summaryrefslogtreecommitdiff
path: root/udev/udevadm-control.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-05-27 17:27:56 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-05-27 17:27:56 +0200
commit87d55ff672d78ebf8afc755e88beeeb1bdf3ac5e (patch)
tree9c097f79d65fff51fc8e63203f6212f9b7f06dc2 /udev/udevadm-control.c
parent88cbfb09ee5510277503ff1830ecc3aa6c380b00 (diff)
childs -> children
Diffstat (limited to 'udev/udevadm-control.c')
-rw-r--r--udev/udevadm-control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/udev/udevadm-control.c b/udev/udevadm-control.c
index 4303aeb5a8..1f8008ab9e 100644
--- a/udev/udevadm-control.c
+++ b/udev/udevadm-control.c
@@ -35,7 +35,7 @@ static void print_help(void)
" --start-exec-queue execute events, flush queue\n"
" --reload-rules reloads the rules files\n"
" --property=<KEY>=<value> set a global property for all events\n"
- " --max-childs=<N> maximum number of childs\n"
+ " --children-max=<N> maximum number of children\n"
" --help print this help text\n\n");
}
@@ -52,7 +52,7 @@ int udevadm_control(struct udev *udev, int argc, char *argv[])
{ "reload-rules", no_argument, NULL, 'R' },
{ "property", required_argument, NULL, 'p' },
{ "env", required_argument, NULL, 'p' },
- { "max-childs", required_argument, NULL, 'm' },
+ { "children-max", required_argument, NULL, 'm' },
{ "help", no_argument, NULL, 'h' },
{}
};
@@ -121,7 +121,7 @@ int udevadm_control(struct udev *udev, int argc, char *argv[])
fprintf(stderr, "invalid number '%s'\n", optarg);
goto exit;
}
- if (udev_ctrl_send_set_max_childs(uctrl, i) < 0)
+ if (udev_ctrl_send_set_children_max(uctrl, i) < 0)
rc = 2;
else
rc = 0;