Revert "lib: Get thread.c to compile"

This reverts commit 9c5f6b578e.
This commit is contained in:
Daniel Walton 2016-09-22 18:23:29 +00:00
parent bcff2289ed
commit 5c307a08f2

View File

@ -305,9 +305,9 @@ DEFUN (show_thread_cpu,
if (argc > 0)
{
filter = 0;
while (argv[0]->arg[i] != '\0')
while (argv[0][i] != '\0')
{
switch ( argv[0]->arg[i] )
switch ( argv[0][i] )
{
case 'r':
case 'R':
@ -342,7 +342,7 @@ DEFUN (show_thread_cpu,
{
vty_out(vty, "Invalid filter \"%s\" specified,"
" must contain at least one of 'RWTEXB'%s",
argv[0]->arg, VTY_NEWLINE);
argv[0], VTY_NEWLINE);
return CMD_WARNING;
}
}
@ -387,9 +387,9 @@ DEFUN (clear_thread_cpu,
if (argc > 0)
{
filter = 0;
while (argv[0]->arg[i] != '\0')
while (argv[0][i] != '\0')
{
switch ( argv[0]->arg[i] )
switch ( argv[0][i] )
{
case 'r':
case 'R':
@ -424,7 +424,7 @@ DEFUN (clear_thread_cpu,
{
vty_out(vty, "Invalid filter \"%s\" specified,"
" must contain at least one of 'RWTEXB'%s",
argv[0]->arg, VTY_NEWLINE);
argv[0], VTY_NEWLINE);
return CMD_WARNING;
}
}