diff options
author | Mark Marshall <mark.marshall@omicronenergy.com> | 2019-01-18 09:10:34 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-01-21 12:50:37 +0100 |
commit | 11cb9eeffec0e2575c8722e83de3116f81b61b4f (patch) | |
tree | 7e58fd78e22a6c5a02f16299572ec61f880739ce /libbb/lineedit.c | |
parent | fc472ea18793d8000c6f4ec1cd06c28c05340879 (diff) | |
download | busybox-11cb9eeffec0e2575c8722e83de3116f81b61b4f.tar.gz |
capability: fix string comparison in cap_name_to_number
The result of strcasecmp was being used incorrectly. This function
returns 0 if the strings match.
Signed-off-by: Mark Marshall <mark.marshall@omicronenergy.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/lineedit.c')
0 files changed, 0 insertions, 0 deletions