summaryrefslogtreecommitdiff
path: root/src/modules-load.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-03 16:29:50 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-03 16:29:50 +0100
commit1a6f4df6c9437ed631080b7e006f666326063d36 (patch)
treee31c6ceec9cb5e6fac75def731c9b80a67680bdd /src/modules-load.c
parentfc7a744cc44cdb80bf9bc6304fc3f80ca2cb65f9 (diff)
dirent: support DT_UNKNOWN where necessary for compat with reiserfs
Diffstat (limited to 'src/modules-load.c')
-rw-r--r--src/modules-load.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules-load.c b/src/modules-load.c
index 3e3ccb0c2f..2dd432695f 100644
--- a/src/modules-load.c
+++ b/src/modules-load.c
@@ -43,7 +43,8 @@ static int scandir_filter(const struct dirent *d) {
return 0;
if (d->d_type != DT_REG &&
- d->d_type != DT_LNK)
+ d->d_type != DT_LNK &&
+ d->d_type != DT_UNKNOWN)
return 0;
return endswith(d->d_name, ".conf");