Skip to content

Commit

Permalink
update(userspace/libsinsp): fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Angelo Puglisi <[email protected]>
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
2 people authored and poiana committed Dec 1, 2022
1 parent 0381554 commit 2008410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/libsinsp/user.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class sinsp_usergroup_manager
*/
scap_groupinfo* get_group(const std::string &container_id, uint32_t gid);

// Note: pid is an unused paramter when container_id is an empty string
// Note: pid is an unused parameter when container_id is an empty string
// ie: it is only used when adding users/groups from containers.
scap_userinfo *add_user(const std::string &container_id, int64_t pid, uint32_t uid, uint32_t gid, const char *name, const char *home, const char *shell, bool notify = false);
scap_groupinfo *add_group(const std::string &container_id, int64_t pid, uint32_t gid, const char *name, bool notify = false);
Expand Down

0 comments on commit 2008410

Please sign in to comment.