X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fdevice.c;h=2079f1c4e48cfa136e6a6a0160e7f0f413a1d25d;hb=7bc0351dd8bdd5045101616d304a3f16ecb91e5a;hp=a0349c4300470dc9cc02a7e19019488ca22b75b0;hpb=4cd1fbcc0648a289e9bf9d9047621bbdf7ec0ece;p=elogind.git diff --git a/src/device.c b/src/device.c index a0349c430..2079f1c4e 100644 --- a/src/device.c +++ b/src/device.c @@ -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))) {