git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'sound-5.0-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[sfrench/cifs-2.6.git]
/
samples
/
bpf
/
xdp1_user.c
diff --git
a/samples/bpf/xdp1_user.c
b/samples/bpf/xdp1_user.c
index 0a197f86ac43a7a28b281d36efeedb5d423dd8dd..8bfda95c77ad77ade1bc2b553d8940f3da0f60a8 100644
(file)
--- a/
samples/bpf/xdp1_user.c
+++ b/
samples/bpf/xdp1_user.c
@@
-103,7
+103,7
@@
int main(int argc, char **argv)
return 1;
}
- ifindex = if_nametoindex(argv[
1
]);
+ ifindex = if_nametoindex(argv[
optind
]);
if (!ifindex) {
perror("if_nametoindex");
return 1;