diff options
Diffstat (limited to 'udev/udevadm-control.c')
-rw-r--r-- | udev/udevadm-control.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/udev/udevadm-control.c b/udev/udevadm-control.c index 69da86563d..b500d75a4e 100644 --- a/udev/udevadm-control.c +++ b/udev/udevadm-control.c @@ -41,7 +41,7 @@ static void print_help(void) " --help print this help text\n\n"); } -int udevadm_control(struct udev *udev, int argc, char *argv[]) +static int adm_control(struct udev *udev, int argc, char *argv[]) { struct udev_ctrl *uctrl = NULL; int timeout = 60; @@ -161,3 +161,9 @@ out: udev_ctrl_unref(uctrl); return rc; } + +const struct udevadm_cmd udevadm_control = { + .name = "control", + .cmd = adm_control, + .help = "control the udev daemon", +}; |