From 833e7f5248778bcb31b4db1a1b91160995415203 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 20 Nov 2009 11:26:35 -0800 Subject: use COMMAND_REGISTER macro Replaces direct calls to register_command() with a macro, to allow its parameters to be changed and callers updated in phases. --- src/xsvf/xsvf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xsvf') diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c index 9af9767e..82ddb84b 100644 --- a/src/xsvf/xsvf.c +++ b/src/xsvf/xsvf.c @@ -1052,7 +1052,7 @@ COMMAND_HANDLER(handle_xsvf_command) int xsvf_register_commands(struct command_context *cmd_ctx) { - register_command(cmd_ctx, NULL, "xsvf", + COMMAND_REGISTER(cmd_ctx, NULL, "xsvf", &handle_xsvf_command, COMMAND_EXEC, "run xsvf [virt2] [quiet]"); -- cgit v1.2.3