diff options
author | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-22 20:23:29 +0200 |
---|---|---|
committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-22 20:23:29 +0200 |
commit | 5c307a08f2508b04f7ca27cb7b3c151656f54a29 (patch) | |
tree | 6580de81247c2ee4abff64bab1d54744249d8c52 /lib | |
parent | Revert "lib, zebra: Fixup if.c to work in the new regime" (diff) | |
download | frr-5c307a08f2508b04f7ca27cb7b3c151656f54a29.tar.xz frr-5c307a08f2508b04f7ca27cb7b3c151656f54a29.zip |
Revert "lib: Get thread.c to compile"
This reverts commit 9c5f6b578e9c8df1186a89cee51c02348beb480a.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/thread.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/thread.c b/lib/thread.c index 27caa8630..a26eb6bfd 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -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; } } |