]> Kevux Git Server - fll/commit
Bugfix: The f_capability should accept f_string_constant_t rather than f_string_static_t.
authorKevin Day <thekevinday@gmail.com>
Tue, 5 Apr 2022 03:35:54 +0000 (22:35 -0500)
committerKevin Day <thekevinday@gmail.com>
Tue, 5 Apr 2022 03:35:54 +0000 (22:35 -0500)
commit236788e7834799d57fb0854266f7a7f47bc57379
tree444ac5c2ddc2897b5e42ddf2c2aebc014b310770
parent8b2cf63c3a707a4f4a7f2928ee4f2bf83654fdc6
Bugfix: The f_capability should accept f_string_constant_t rather than f_string_static_t.

The name.string is incorrect and should be name->string.
Once I fixed this, I noticed a compiler warning about losing the "const" frrom the return value of cap_mode_name().
Use f_string_constant_t rather than f_string_static_t.
level_0/f_capability/c/capability.c
level_0/f_capability/c/capability.h
level_0/f_capability/tests/unit/c/test-capability-mode_get_name.c