[systemd-devel] [PATCH] shared: fix typo

Tom Gundersen teg at jklm.no
Fri Oct 31 03:05:54 PDT 2014


Applied. Thanks!

Tom

On Thu, Oct 30, 2014 at 10:34 PM, Ronny Chevalier
<chevalier.ronny at gmail.com> wrote:
> ---
>  src/shared/capability.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/shared/capability.c b/src/shared/capability.c
> index d2b9013..0226542 100644
> --- a/src/shared/capability.c
> +++ b/src/shared/capability.c
> @@ -228,7 +228,7 @@ int drop_privileges(uid_t uid, gid_t gid, uint64_t keep_capabilities) {
>           * which we want to avoid. */
>
>          if (setresgid(gid, gid, gid) < 0) {
> -                log_error("Failed change group ID: %m");
> +                log_error("Failed to change group ID: %m");
>                  return -errno;
>          }
>
> @@ -244,7 +244,7 @@ int drop_privileges(uid_t uid, gid_t gid, uint64_t keep_capabilities) {
>
>          r = setresuid(uid, uid, uid);
>          if (r < 0) {
> -                log_error("Failed change user ID: %m");
> +                log_error("Failed to change user ID: %m");
>                  return -errno;
>          }
>
> --
> 2.1.3
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list