bpf: fix spelling mistake: "funcation"-> "function"

Trivial fix to spelling mistake in error message text.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:
Colin Ian King 2017-12-18 14:03:12 +00:00 committed by Daniel Borkmann
parent 962b582785
commit e90004d56b

View File

@ -772,7 +772,7 @@ static int check_subprogs(struct bpf_verifier_env *env)
return -EPERM; return -EPERM;
} }
if (bpf_prog_is_dev_bound(env->prog->aux)) { if (bpf_prog_is_dev_bound(env->prog->aux)) {
verbose(env, "funcation calls in offloaded programs are not supported yet\n"); verbose(env, "function calls in offloaded programs are not supported yet\n");
return -EINVAL; return -EINVAL;
} }
ret = add_subprog(env, i + insn[i].imm + 1); ret = add_subprog(env, i + insn[i].imm + 1);