From: Kamalesh Babulal Date: Mon, 14 Aug 2023 07:55:35 +0000 (+0530) Subject: tools/tools-common.h:fix spellings across the file X-Git-Tag: v3.2.0~205 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53a72e92e84d02458defc368f0fce7847690141b;p=thirdparty%2Flibcgroup.git tools/tools-common.h:fix spellings across the file Fix the spelling mistakes across the file and also fix word case. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- diff --git a/src/tools/tools-common.h b/src/tools/tools-common.h index 04888434..97767b5b 100644 --- a/src/tools/tools-common.h +++ b/src/tools/tools-common.h @@ -94,7 +94,7 @@ int cgroup_string_list_add_item(struct cgroup_string_list *list, const char *ite * (without subdirs) to list of strings. * The function exits on error. * @param list The list to add files to. - * @param dirname Full path to directory to examime. + * @param dirname Full path to directory to examine. * @param program_name Name of the executable, it will be used for * printing errors to stderr. */ @@ -105,7 +105,7 @@ int cgroup_string_list_add_directory(struct cgroup_string_list *list, char *dirn * Parse file permissions as octal number. * @param string A string to parse, must contain 3-4 characters '0'-'7'. * @param pmode Parsed mode. - * @oaram program_name Argv[0] to show error messages. + * @oaram program_name argv[0] to show error messages. */ int parse_mode(char *string, mode_t *pmode, const char *program_name); @@ -114,7 +114,7 @@ int parse_mode(char *string, mode_t *pmode, const char *program_name); * @param string A string to parse. * @param uid Parsed UID (-1 if 'user' is missing in the string). * @param gid Parsed GID (-1 if 'group' is missing in the string). - * @param program_name Argv[0] to show error messages. + * @param program_name argv[0] to show error messages. */ int parse_uid_gid(char *string, uid_t *uid, gid_t *gid, const char *program_name);