aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorQuentin Monnet <[email protected]>2018-10-20 22:01:50 +0000
committerDaniel Borkmann <[email protected]>2018-10-21 18:45:14 +0000
commitfe8ecccc10b3adc071de05ca7af728ca1a4ac9aa (patch)
treee331ea6c91c3da4fc356cbaed02d0cceff29bdbb /net/tipc
parenttools: bpftool: print nb of cmds to stdout (not stderr) for batch mode (diff)
downloadkernel-fe8ecccc10b3adc071de05ca7af728ca1a4ac9aa.tar.gz
kernel-fe8ecccc10b3adc071de05ca7af728ca1a4ac9aa.zip
tools: bpftool: fix completion for "bpftool map update"
When trying to complete "bpftool map update" commands, the call to printf would print an error message that would show on the command line if no map is found to complete the command line. Fix it by making sure we have map ids to complete the line with, before we try to print something. Signed-off-by: Quentin Monnet <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions