Skip to content

Commit

Permalink
fix(userspace/libsinsp): solve formatts being cropped with fd.types
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Dellaluce <[email protected]>
  • Loading branch information
jasondellaluce authored and poiana committed Apr 5, 2024
1 parent c909ab6 commit 01fe5d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/libsinsp/sinsp_filtercheck_fd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ int32_t sinsp_filter_check_fd::parse_field_name(const char* str, bool alloc_stat
if(res == 0)
{
m_argid = -1;
res = (int32_t)val.size();
res = (int32_t)(sizeof("fd.types") - 1);
}

return res;
Expand Down

0 comments on commit 01fe5d7

Please sign in to comment.