[systemd-commits] 2 commits - src/libsystemd src/machine

Martin Pitt martin at kemper.freedesktop.org
Sun Dec 28 04:05:30 PST 2014


 src/libsystemd/sd-bus/bus-error.c |    2 +-
 src/machine/image-dbus.c          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 94b5088c8d961078d73a2f8659c0ea21f9ebc500
Author: Sylvain Plantefève <melkor73 at gmail.com>
Date:   Sun Dec 28 12:52:15 2014 +0100

    machined: Fix MarkReadOnly method's name on bus

diff --git a/src/machine/image-dbus.c b/src/machine/image-dbus.c
index 5ac689c..659f7de 100644
--- a/src/machine/image-dbus.c
+++ b/src/machine/image-dbus.c
@@ -142,7 +142,7 @@ const sd_bus_vtable image_vtable[] = {
         SD_BUS_METHOD("Remove", NULL, NULL, bus_image_method_remove, 0),
         SD_BUS_METHOD("Rename", "s", NULL, bus_image_method_rename, 0),
         SD_BUS_METHOD("Clone", "sb", NULL, bus_image_method_clone, 0),
-        SD_BUS_METHOD("MarkeReadOnly", "b", NULL, bus_image_method_mark_read_only, 0),
+        SD_BUS_METHOD("MarkReadOnly", "b", NULL, bus_image_method_mark_read_only, 0),
         SD_BUS_VTABLE_END
 };
 

commit 1517ab5d18f2f057c3f0d8c9b8444595eac71df5
Author: Sylvain Plantefève <melkor73 at gmail.com>
Date:   Sun Dec 28 12:52:14 2014 +0100

    libsystemd: Fix minor typo in comment

diff --git a/src/libsystemd/sd-bus/bus-error.c b/src/libsystemd/sd-bus/bus-error.c
index 2955d9d..09800ec 100644
--- a/src/libsystemd/sd-bus/bus-error.c
+++ b/src/libsystemd/sd-bus/bus-error.c
@@ -265,7 +265,7 @@ int bus_error_setfv(sd_bus_error *e, const char *name, const char *format, va_li
                 return -ENOMEM;
         }
 
-        /* Of we hit OOM on formatting the pretty message, we ignore
+        /* If we hit OOM on formatting the pretty message, we ignore
          * this, since we at least managed to write the error name */
         if (format)
                 (void) vasprintf((char**) &e->message, format, ap);



More information about the systemd-commits mailing list