X-Git-Url: http://git.tdb.fi/?p=ext%2Fsubsurface.git;a=blobdiff_plain;f=file.c;h=e0163909e9160f59f1f74ea667e50ec52684ef30;hp=538f5c78312c060216726e71492b123e48b93d4b;hb=03eb488dd238bcec4b4758eab4559b3c40e6435c;hpb=e96a1864be076fcdf870188b95b1d43f16308590 diff --git a/file.c b/file.c index 538f5c7..e016390 100644 --- a/file.c +++ b/file.c @@ -10,7 +10,7 @@ static int readfile(const char *filename, struct memblock *mem) { - int ret, fd = open(filename, O_RDONLY); + int ret, fd; struct stat st; char *buf;