diff options
Diffstat (limited to 'cpukit/libmisc/shell/main_time.c')
-rw-r--r-- | cpukit/libmisc/shell/main_time.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cpukit/libmisc/shell/main_time.c b/cpukit/libmisc/shell/main_time.c index 401186aeb4..5ea1bf7498 100644 --- a/cpukit/libmisc/shell/main_time.c +++ b/cpukit/libmisc/shell/main_time.c @@ -75,10 +75,9 @@ static int rtems_shell_main_time( } rtems_shell_cmd_t rtems_shell_TIME_Command = { - "time", /* name */ - "time command [arguments...]", /* usage */ - "misc", /* topic */ - rtems_shell_main_time, /* command */ - NULL, /* alias */ - NULL /* next */ + .name = "time", + .usage = "time command [arguments...]", + .topic = "misc", + .command = rtems_shell_main_time, + .mode = S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH }; |