Skip to content

Commit

Permalink
samples/bpf: tc_bench01 minor adjustments
Browse files Browse the repository at this point in the history
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
  • Loading branch information
netoptimizer committed Jun 23, 2017
1 parent dc00779 commit 351cb2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kernel/samples/bpf/tc_bench01_redirect_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*/
static const char *__doc__=
" TC redirect benchmark\n\n"
" You must attach bpf object via TC cmdline tool\n"
" The bpf-object gets attached via TC cmdline tool\n"
;

#include <errno.h>
Expand Down Expand Up @@ -43,12 +43,12 @@ static void usage(char *argv[])
argv[0]);
printf(" Listing options:\n");
for (i = 0; long_options[i].name != 0; i++) {
printf(" --%-12s", long_options[i].name);
printf(" --%-15s", long_options[i].name);
if (long_options[i].flag != NULL)
printf(" flag (internal value:%d)",
*long_options[i].flag);
else
printf(" short-option: -%c",
printf("(internal short-option: -%c)",
long_options[i].val);
printf("\n");
}
Expand Down

0 comments on commit 351cb2b

Please sign in to comment.