chiark / gitweb /
man: improve grammar and word formatting in numerous man pages
[elogind.git] / src / libsystemd-bus / bus-kernel.c
index ad0d5731490d2fef760be1f4e89d46dca05af079..ffa843d5d1090b5fdf8e73029d5fc6d0113aa0bf 100644 (file)
@@ -729,7 +729,7 @@ int bus_kernel_pop_memfd(sd_bus *bus, void **address, size_t *size) {
                 return fd;
         }
 
-        c = &bus->memfd_cache[-- bus->n_memfd_cache];
+        c = &bus->memfd_cache[--bus->n_memfd_cache];
 
         assert(c->fd >= 0);
         assert(c->size == 0 || c->address);