From: Martin Mares Date: Wed, 7 Mar 2001 13:24:00 +0000 (+0000) Subject: Use sh_open instead of open. X-Git-Tag: holmes-import~1521 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=33aae6df4c2673a13e8e1c2e6832d457107a3729;p=libucw.git Use sh_open instead of open. --- diff --git a/lib/bucket.c b/lib/bucket.c index cac9419f..4934bc3d 100644 --- a/lib/bucket.c +++ b/lib/bucket.c @@ -114,7 +114,7 @@ obuck_init(int writeable) int buflen = 65536; sh_off_t size; - obuck_fd = open(obuck_name, (writeable ? O_RDWR | O_CREAT : O_RDONLY), 0666); + obuck_fd = sh_open(obuck_name, (writeable ? O_RDWR | O_CREAT : O_RDONLY), 0666); obuck_fb = b = xmalloc_zero(sizeof(struct fastbuf) + buflen + OBUCK_ALIGN + 4); b->buflen = buflen; b->buffer = (char *)(b+1);