]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Fix two typos
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 23 Feb 2016 13:17:19 +0000 (08:17 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 23 Feb 2016 13:48:22 +0000 (08:48 -0500)
src/basic/hostname-util.c
src/machine/machinectl.c

index f900c509a3bdaaa7e4e96f6f092892509f3fe23d..5ed98eeb6af49dfa286bda4e5a596d8e28623edd 100644 (file)
@@ -48,8 +48,9 @@ bool hostname_is_set(void) {
 char* gethostname_malloc(void) {
         struct utsname u;
 
-        /* This call tries to return something useful, either the actual hostname or it makes something up. The only
-         * reason it might mail is OOM. It might even return "localhost" if that's set. */
+        /* This call tries to return something useful, either the actual hostname
+         * or it makes something up. The only reason it might fail is OOM.
+         * It might even return "localhost" if that's set. */
 
         assert_se(uname(&u) >= 0);
 
index 48531393211d03ff46fa2ed2cfb2c6016e02fba8..4bb712ca5a6b5af6c747d489cc772b37b8f61f40 100644 (file)
@@ -1763,7 +1763,7 @@ static int transfer_image_common(sd_bus *bus, sd_bus_message *m) {
 
         r = sd_bus_call(bus, m, 0, &error, &reply);
         if (r < 0) {
-                log_error("Failed transfer image: %s", bus_error_message(&error, -r));
+                log_error("Failed to transfer image: %s", bus_error_message(&error, -r));
                 return r;
         }