xopen3(O_RDONLY) -> xopen(O_RDONLY).
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 9 Sep 2006 12:25:20 +0000 (12:25 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 9 Sep 2006 12:25:20 +0000 (12:25 -0000)
modutils/insmod.c

index e57dd06dd0a3aee448ac619e55a769584be209be..249563435a241f86bcb8e95f4c88879f9d81451e 100644 (file)
@@ -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;