From 84d553b79a0955409b599478ea2310a47e00a7b7 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 4 Oct 2004 16:45:24 +0000 Subject: [PATCH] Oops. --- lib/lfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2