aboutsummaryrefslogtreecommitdiff
path: root/jim-aio.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2021-07-15 15:05:41 +1000
committerSteve Bennett <steveb@workware.net.au>2021-07-15 15:08:17 +1000
commit2d66360c61d2a89d4008e8bad12ae3aa5f0331e2 (patch)
treece0dbcd7e6fff9ace5cff58996ee0f67bfe52212 /jim-aio.c
parent7dc74467a7fd222ab0d4f7e0cb86a6e186046cfd (diff)
downloadjimtcl-2d66360c61d2a89d4008e8bad12ae3aa5f0331e2.zip
jimtcl-2d66360c61d2a89d4008e8bad12ae3aa5f0331e2.tar.gz
jimtcl-2d66360c61d2a89d4008e8bad12ae3aa5f0331e2.tar.bz2
aio: Fix the 'lock' subcommand
The name of the subcommand was inadvertently "lock ?-wait?" rather than "lock" Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-aio.c')
-rw-r--r--jim-aio.c4
1 files changed, 2 insertions, 2 deletions
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,