diff options
author | 2019-07-29 23:13:59 +0800 | |
---|---|---|
committer | 2019-09-03 11:19:31 +0100 | |
commit | 635714312e6a515de2e78e74bf8d5b10593a4dbf (patch) | |
tree | 0ac32e50cec11cc9a955f5b832b685ccaf323365 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.3-rc5 (diff) | |
download | wireguard-linux-635714312e6a515de2e78e74bf8d5b10593a4dbf.tar.xz wireguard-linux-635714312e6a515de2e78e74bf8d5b10593a4dbf.zip |
kdb: Replace strncmp with str_has_prefix
strncmp(str, const, len) is error-prone.
We had better use newly introduced
str_has_prefix() instead of it.
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions