Skip to content

Commit

Permalink
update(userspace/libsinsp): more descriptive warning message
Browse files Browse the repository at this point in the history
Signed-off-by: Angelo Puglisi <[email protected]>
Co-authored-by: Mauro Ezequiel Moltrasio <[email protected]>
  • Loading branch information
2 people authored and poiana committed Nov 23, 2022
1 parent cee64a5 commit 6f9bec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/libsinsp/procfs_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ libsinsp::procfs_utils::ns_helper::ns_helper(const std::string& host_root):
if(-1 == readlink((m_host_root + "/proc/1/ns/mnt").c_str(), buf, NS_MNT_SIZE - 1))
{
g_logger.format(sinsp_logger::SEV_WARNING,
"Cannot read host init ns/mnt");
"Cannot read host init ns/mnt: %d", errno);
m_cannot_read_host_init_ns_mnt = true;
}
else
Expand Down

0 comments on commit 6f9bec4

Please sign in to comment.