summaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r--modutils/insmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index e57dd06..2495634 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -4325,7 +4325,7 @@ int insmod_ng_main( int argc, char **argv)
strcat(options, " ");
}
- fd = xopen3(filename, O_RDONLY, 0);
+ fd = xopen(filename, O_RDONLY);
fstat(fd, &st);
len = st.st_size;