summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/monitor/mon-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmisc/monitor/mon-object.c')
-rw-r--r--cpukit/libmisc/monitor/mon-object.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libmisc/monitor/mon-object.c b/cpukit/libmisc/monitor/mon-object.c
index 862efcf815..0e36e26b5e 100644
--- a/cpukit/libmisc/monitor/mon-object.c
+++ b/cpukit/libmisc/monitor/mon-object.c
@@ -315,16 +315,16 @@ void
rtems_monitor_object_cmd(
int argc,
char **argv,
- unsigned32 command_arg,
+ rtems_monitor_command_arg_t *command_arg,
boolean verbose
)
{
int arg;
rtems_monitor_object_info_t *info = 0;
- rtems_monitor_object_type_t type = (rtems_monitor_object_type_t) command_arg;
+ rtems_monitor_object_type_t type ;
/* what is the default type? */
- type = (rtems_monitor_object_type_t) command_arg;
+ type = command_arg->monitor_object;
if (argc == 1)
{