chiark / gitweb /
Various fixes for typos found by lintian (#3705)
authorMichael Biebl <mbiebl@gmail.com>
Tue, 12 Jul 2016 10:52:11 +0000 (12:52 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:13:01 +0000 (10:13 +0200)
src/core/cgroup.c
src/libelogind/sd-login/sd-login.c

index bf8bbf5801609d1760af9580c515fde3e4f8d042..fd0d0100353b7bad7d86b979cbebd39aaf92ebd6 100644 (file)
@@ -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;
 
index e7f6143d935adfade5305a93737fa13c9f699249..f41e1a855b37dfbb0a18b94b955f19f0d3afab8c 100644 (file)
@@ -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("/");