lib: os: Fix warning on XCC

xcc compiler complains about how fdtable variable is initialized:
"""
warning: missing braces around initialize
"""

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2022-07-22 10:10:18 -07:00 committed by Anas Nashif
commit dfa71ca332

View file

@ -53,7 +53,9 @@ static struct fd_entry fdtable[CONFIG_POSIX_MAX_FDS] = {
.refcount = ATOMIC_INIT(1)
},
#else
{
0
},
#endif
};