From: Michael Biebl Date: Tue, 12 Jul 2016 10:52:11 +0000 (+0200) Subject: Various fixes for typos found by lintian (#3705) X-Git-Tag: v231.3~76 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=0d34aec56cd175cb1ac3722e3d9da7c49cf52113;hp=7a6781d5aa01c5609232f60bbda7ba9a5bd1f74c Various fixes for typos found by lintian (#3705) --- diff --git a/src/core/cgroup.c b/src/core/cgroup.c index bf8bbf580..fd0d01003 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -1081,7 +1081,7 @@ int unit_watch_cgroup(Unit *u) { /* Only applies to the unified hierarchy */ r = cg_unified(); if (r < 0) - return log_unit_error_errno(u, r, "Failed detect wether the unified hierarchy is used: %m"); + return log_unit_error_errno(u, r, "Failed detect whether the unified hierarchy is used: %m"); if (r == 0) return 0; diff --git a/src/libelogind/sd-login/sd-login.c b/src/libelogind/sd-login/sd-login.c index e7f6143d9..f41e1a855 100644 --- a/src/libelogind/sd-login/sd-login.c +++ b/src/libelogind/sd-login/sd-login.c @@ -148,7 +148,7 @@ _public_ int sd_pid_get_cgroup(pid_t pid, char **cgroup) { /* The internal APIs return the empty string for the root * cgroup, let's return the "/" in the public APIs instead, as - * that's easier and less ambigious for people to grok. */ + * that's easier and less ambiguous for people to grok. */ if (isempty(c)) { free(c); c = strdup("/");