Skip to content

Commit

Permalink
Update gen_vmlinux_h.sh
Browse files Browse the repository at this point in the history
Positional or special parameters cannot be assigned using := way.
  • Loading branch information
Vesnica authored and anakryiko committed Feb 8, 2021
1 parent af5c68f commit c126589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gen_vmlinux_h.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#/bin/sh

$(dirname "$0")/bpftool btf dump file ${1:=/sys/kernel/btf/vmlinux} format c
$(dirname "$0")/bpftool btf dump file ${1:-/sys/kernel/btf/vmlinux} format c

0 comments on commit c126589

Please sign in to comment.