diff options
Diffstat (limited to 'src/hello.c')
-rw-r--r-- | src/hello.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hello.c b/src/hello.c index 267cc28..275150a 100644 --- a/src/hello.c +++ b/src/hello.c @@ -50,7 +50,7 @@ COMMAND_HANDLER(handle_hello_command) int hello_register_commands(struct command_context *cmd_ctx) { - struct command_s *cmd = register_command(cmd_ctx, NULL, "hello", + struct command *cmd = register_command(cmd_ctx, NULL, "hello", &handle_hello_command, COMMAND_ANY, "option"); return cmd ? ERROR_OK : -ENOMEM; |