From 1a6f4df6c9437ed631080b7e006f666326063d36 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 3 Mar 2011 16:29:50 +0100 Subject: dirent: support DT_UNKNOWN where necessary for compat with reiserfs --- src/modules-load.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules-load.c') 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"); -- cgit v1.2.3-54-g00ecf