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 e57dd06..2495634 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;