diff options
-rw-r--r-- | modutils/insmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index e57dd06dd..249563435 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -4325,7 +4325,7 @@ int insmod_ng_main( int argc, char **argv) | |||
4325 | strcat(options, " "); | 4325 | strcat(options, " "); |
4326 | } | 4326 | } |
4327 | 4327 | ||
4328 | fd = xopen3(filename, O_RDONLY, 0); | 4328 | fd = xopen(filename, O_RDONLY); |
4329 | 4329 | ||
4330 | fstat(fd, &st); | 4330 | fstat(fd, &st); |
4331 | len = st.st_size; | 4331 | len = st.st_size; |