summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-07 20:58:41 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-07 20:58:41 +0200
commitf60f22dfbb8cfa0eb55d1896db0e4c3f7d3cfacb (patch)
tree281e6403566756a06a47599067b296446e9257d0 /src/device.c
parent6febfd0d4bdf7519e119149b8d8ec03c210aed1d (diff)
util: use quoted word parsing where applicable
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index a0349c4300..2079f1c4e4 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))) {