[PATCH 6.5 037/321] bpf: Fix a erroneous check after snprintf()