]> mj.ucw.cz Git - libucw.git/commitdiff
Oops.
authorMartin Mares <mj@ucw.cz>
Mon, 4 Oct 2004 16:45:24 +0000 (16:45 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 4 Oct 2004 16:45:24 +0000 (16:45 +0000)
lib/lfs.h

index 6b28936f77e46935499e6a08696602b8a5b60027..77a978033b76d16285e28540c1dc30846cf35edf 100644 (file)
--- 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);