nk/privs.c: Fix a trivial warning.

This commit is contained in:
Nicholas J. Kain 2022-08-10 12:10:55 -04:00
parent 6c44f536ad
commit 867b70e83e

View File

@ -47,6 +47,7 @@ static size_t nk_get_capability_vinfo(uint32_t *version)
return _LINUX_CAPABILITY_U32S_2; return _LINUX_CAPABILITY_U32S_2;
default: log_line("%s: unknown capability version %x, using %x", default: log_line("%s: unknown capability version %x, using %x",
__func__, *version, _LINUX_CAPABILITY_VERSION_3); __func__, *version, _LINUX_CAPABILITY_VERSION_3);
// fall through
case _LINUX_CAPABILITY_VERSION_3: case _LINUX_CAPABILITY_VERSION_3:
*version = _LINUX_CAPABILITY_VERSION_3; *version = _LINUX_CAPABILITY_VERSION_3;
return _LINUX_CAPABILITY_U32S_3; return _LINUX_CAPABILITY_U32S_3;