summaryrefslogtreecommitdiff
path: root/src/pld/virtex2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pld/virtex2.c')
-rw-r--r--src/pld/virtex2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c
index 77eb8669..bbf6b667 100644
--- a/src/pld/virtex2.c
+++ b/src/pld/virtex2.c
@@ -237,9 +237,9 @@ static const struct command_registration virtex2_exec_command_handlers[] = {
{
.name = "read_stat",
.mode = COMMAND_EXEC,
- .handler = &virtex2_handle_read_stat_command,
+ .handler = virtex2_handle_read_stat_command,
.help = "read status register",
- .usage = "<device_id>",
+ .usage = "pld_num",
},
COMMAND_REGISTRATION_DONE
};