summaryrefslogtreecommitdiff
path: root/src/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hello.c')
-rw-r--r--src/hello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hello.c b/src/hello.c
index 267cc28e..275150a4 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;