testsuites/samples/fileio: Address missing field initializer warnings

Address missing field initializer warnings.

These were rtems_shell_cmd_t or rtems_shell_alias_t declarations
with initialization.  The initialization was changed to using named
fields.

Updates #5325.
This commit is contained in:
Joel Sherrill
2025-10-14 12:23:25 -05:00
parent f519633d0d
commit 87f5aa145b

View File

@@ -1223,17 +1223,17 @@ static int main_usercmd(int argc, char **argv)
}
static rtems_shell_cmd_t Shell_USERCMD_Command = {
"usercmd", /* name */
"usercmd n1 [n2 [n3...]] # echo arguments", /* usage */
"user", /* topic */
main_usercmd, /* command */
NULL, /* alias */
NULL /* next */
.name = "usercmd",
.usage = "usercmd n1 [n2 [n3...]] # echo arguments",
.topic = "user",
.command = main_usercmd,
.alias = NULL,
.next = NULL
};
static rtems_shell_alias_t Shell_USERECHO_Alias = {
"usercmd", /* command */
"userecho" /* alias */
.name = "usercmd",
.alias = "userecho"
};