From: Martin Mares Date: Mon, 4 Oct 2004 16:45:24 +0000 (+0000) Subject: Oops. X-Git-Tag: holmes-import~887 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=84d553b79a0955409b599478ea2310a47e00a7b7;p=libucw.git Oops. --- diff --git a/lib/lfs.h b/lib/lfs.h index 6b28936f..77a97803 100644 --- a/lib/lfs.h +++ b/lib/lfs.h @@ -40,7 +40,7 @@ static inline sh_off_t sh_file_size(byte *name) { - int fd = open(name, O_RDONLY); + int fd = sh_open(name, O_RDONLY); if (fd < 0) die("Cannot open %s: %m", name); sh_off_t len = sh_seek(fd, 0, SEEK_SET);