chiark / gitweb /
bus: fix typo
authorDavid Herrmann <dh.herrmann@gmail.com>
Sun, 18 Jan 2015 18:28:30 +0000 (19:28 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sun, 18 Jan 2015 18:28:30 +0000 (19:28 +0100)
Fix comment typo and clarify that this is not about privileges but can
have rather arbitrary reasons.

src/libsystemd/sd-bus/bus-control.c

index 35c79cf899551c1c4903a065c4a9500f228c1b6c..442def7f780ab8f6e792e09d59ab4c885d13c894 100644 (file)
@@ -644,8 +644,8 @@ int bus_get_name_creds_kdbus(
         cmd->size = size;
         cmd->flags = attach_flags_to_kdbus(mask);
 
-        /* If augmentation is on, and the bus doesn't didn't allow us
-         * to get the bits we want, then ask for the PID/TID so that we
+        /* If augmentation is on, and the bus didn't provide us
+         * the bits we want, then ask for the PID/TID so that we
          * can read the rest from /proc. */
         if ((mask & SD_BUS_CREDS_AUGMENT) &&
             (mask & (SD_BUS_CREDS_UID|SD_BUS_CREDS_EUID|SD_BUS_CREDS_SUID|SD_BUS_CREDS_FSUID|