From 2d66360c61d2a89d4008e8bad12ae3aa5f0331e2 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Thu, 15 Jul 2021 15:05:41 +1000 Subject: aio: Fix the 'lock' subcommand The name of the subcommand was inadvertently "lock ?-wait?" rather than "lock" Signed-off-by: Steve Bennett --- jim-aio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jim-aio.c') diff --git a/jim-aio.c b/jim-aio.c index c0d539c..7aeb4bf 100644 --- a/jim-aio.c +++ b/jim-aio.c @@ -1818,8 +1818,8 @@ static const jim_subcmd_type aio_command_table[] = { }, #endif #if defined(HAVE_STRUCT_FLOCK) - { "lock ?-wait?", - NULL, + { "lock", + "?-wait?", aio_cmd_lock, 0, 1, -- cgit v1.1