summaryrefslogtreecommitdiff
path: root/src/storage.c
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2012-08-06 23:54:33 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-08-07 09:23:59 +0300
commit98ea9125867373f297b71ad8df0e7fbc5bf64543 (patch)
treef61d8869b8f983ebb86f6d4861d0af8369adbe74 /src/storage.c
parentc0bfdb8197f4bc29f51460be77b27a41ca073d96 (diff)
downloadconnman-98ea9125867373f297b71ad8df0e7fbc5bf64543.tar.gz
connman-98ea9125867373f297b71ad8df0e7fbc5bf64543.tar.bz2
connman-98ea9125867373f297b71ad8df0e7fbc5bf64543.zip
storage.c: Search for settings file even if d_type is DT_UNKNOWN.
This is useful for filesystems where d_type is always DT_UNKNOWN, for example in reiserfs.
Diffstat (limited to 'src/storage.c')
-rw-r--r--src/storage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/storage.c b/src/storage.c
index 20766a34..29291dc7 100644
--- a/src/storage.c
+++ b/src/storage.c
@@ -193,6 +193,7 @@ gchar **connman_storage_get_services()
switch (d->d_type) {
case DT_DIR:
+ case DT_UNKNOWN:
/*
* If the settings file is not found, then
* assume this directory is not a services dir.