diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2012-08-06 23:54:33 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-08-07 09:23:59 +0300 |
commit | 98ea9125867373f297b71ad8df0e7fbc5bf64543 (patch) | |
tree | f61d8869b8f983ebb86f6d4861d0af8369adbe74 /src/storage.c | |
parent | c0bfdb8197f4bc29f51460be77b27a41ca073d96 (diff) | |
download | connman-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.c | 1 |
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. |