chiark / gitweb /
cgls: beef up control group dumping and introduce cgls tool
[elogind.git] / src / device.c
index a0349c4300470dc9cc02a7e19019488ca22b75b0..2079f1c4e48cfa136e6a6a0160e7f0f413a1d25d 100644 (file)
@@ -244,7 +244,7 @@ static int device_process_new_device(Manager *m, struct udev_device *dev, bool u
                         goto fail;
 
         if (wants) {
-                FOREACH_WORD(w, l, wants, state) {
+                FOREACH_WORD_QUOTED(w, l, wants, state) {
                         char *e;
 
                         if (!(e = strndup(w, l))) {