xopen3(O_RDONLY) -> xopen(O_RDONLY).
This commit is contained in:
parent
9cac521f07
commit
d5d614c5f4
@ -4325,7 +4325,7 @@ int insmod_ng_main( int argc, char **argv)
|
|||||||
strcat(options, " ");
|
strcat(options, " ");
|
||||||
}
|
}
|
||||||
|
|
||||||
fd = xopen3(filename, O_RDONLY, 0);
|
fd = xopen(filename, O_RDONLY);
|
||||||
|
|
||||||
fstat(fd, &st);
|
fstat(fd, &st);
|
||||||
len = st.st_size;
|
len = st.st_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user