summaryrefslogtreecommitdiff
path: root/libudev/libudev-ctrl.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 /libudev/libudev-ctrl.c
parent88cbfb09ee5510277503ff1830ecc3aa6c380b00 (diff)
childs -> children
Diffstat (limited to 'libudev/libudev-ctrl.c')
-rw-r--r--libudev/libudev-ctrl.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libudev/libudev-ctrl.c b/libudev/libudev-ctrl.c
index e47b2b66dc..af59c36826 100644
--- a/libudev/libudev-ctrl.c
+++ b/libudev/libudev-ctrl.c
@@ -32,8 +32,7 @@ enum udev_ctrl_msg_type {
UDEV_CTRL_START_EXEC_QUEUE,
UDEV_CTRL_RELOAD_RULES,
UDEV_CTRL_SET_ENV,
- UDEV_CTRL_SET_MAX_CHILDS,
- UDEV_CTRL_SET_MAX_CHILDS_RUNNING,
+ UDEV_CTRL_SET_CHILDREN_MAX,
UDEV_CTRL_SETTLE,
};
@@ -185,9 +184,9 @@ int udev_ctrl_send_set_env(struct udev_ctrl *uctrl, const char *key)
return ctrl_send(uctrl, UDEV_CTRL_SET_ENV, 0, key);
}
-int udev_ctrl_send_set_max_childs(struct udev_ctrl *uctrl, int count)
+int udev_ctrl_send_set_children_max(struct udev_ctrl *uctrl, int count)
{
- return ctrl_send(uctrl, UDEV_CTRL_SET_MAX_CHILDS, count, NULL);
+ return ctrl_send(uctrl, UDEV_CTRL_SET_CHILDREN_MAX, count, NULL);
}
int udev_ctrl_send_settle(struct udev_ctrl *uctrl)
@@ -306,9 +305,9 @@ const char *udev_ctrl_get_set_env(struct udev_ctrl_msg *ctrl_msg)
return NULL;
}
-int udev_ctrl_get_set_max_childs(struct udev_ctrl_msg *ctrl_msg)
+int udev_ctrl_get_set_children_max(struct udev_ctrl_msg *ctrl_msg)
{
- if (ctrl_msg->ctrl_msg_wire.type == UDEV_CTRL_SET_MAX_CHILDS)
+ if (ctrl_msg->ctrl_msg_wire.type == UDEV_CTRL_SET_CHILDREN_MAX)
return ctrl_msg->ctrl_msg_wire.intval;
return -1;
}