---
 libkmod/libkmod-index.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libkmod/libkmod-index.c b/libkmod/libkmod-index.c
index c376176..0c18014 100644
--- a/libkmod/libkmod-index.c
+++ b/libkmod/libkmod-index.c
@@ -336,7 +336,7 @@ struct index_file *index_file_open(const char *filename)
        uint32_t magic, version;
        struct index_file *new;
 
-       file = fopen(filename, "re");
+       file = fopen(filename, "rem");
        if (!file)
                return NULL;
        errno = EINVAL;
-- 
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to