[systemd-devel] [PATCH] sd-login.h: correct spelling mistakes in comments

Lennart Poettering lennart at poettering.net
Mon Oct 10 17:52:34 PDT 2011


On Mon, 26.09.11 09:25, Dave Reisner (d at falconindy.com) wrote:

Thanks a lot. Applied!

> ---
>  src/sd-login.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/sd-login.h b/src/sd-login.h
> index 7102eb8..0cb0bf0 100644
> --- a/src/sd-login.h
> +++ b/src/sd-login.h
> @@ -83,7 +83,7 @@ int sd_session_get_seat(const char *session, char **seat);
>  int sd_seat_get_active(const char *seat, char **session, uid_t *uid);
>  
>  /* Return sessions and users on seat. Returns number of sessions as
> - * return value. If sessions is NULL returs only the number of
> + * return value. If sessions is NULL returns only the number of
>   * sessions. */
>  int sd_seat_get_sessions(const char *seat, char ***sessions, uid_t **uid, unsigned *n_uids);
>  
> @@ -94,7 +94,7 @@ int sd_seat_can_multi_session(const char *seat);
>   * seats is NULL only returns number of seats. */
>  int sd_get_seats(char ***seats);
>  
> -/* Get all sessions, store in *seessions. Returns the number of
> +/* Get all sessions, store in *sessions. Returns the number of
>   * sessions. If sessions is NULL only returns number of sessions. */
>  int sd_get_sessions(char ***sessions);
>  


Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list