summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-02-07 13:13:55 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-02-07 13:13:55 +0000
commit83761e599a18a7ac99e58aa67b6b4869557f26e5 (patch)
treefbab0798fce3867a7038a96751b3b4526370abaf /src/include
parent153a646667ff5ae7578a6027938524db91c40821 (diff)
downloadskalibs-83761e599a18a7ac99e58aa67b6b4869557f26e5.tar.xz
- Doc update
- version: 2.3.0.0 rc
Diffstat (limited to 'src/include')
-rw-r--r--src/include/skalibs/djbunix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/skalibs/djbunix.h b/src/include/skalibs/djbunix.h
index d22740b..387e05a 100644
--- a/src/include/skalibs/djbunix.h
+++ b/src/include/skalibs/djbunix.h
@@ -37,7 +37,7 @@ extern int fd_sync (int) ;
extern int fd_cat (int, int) ;
extern unsigned int fd_catn (int, int, unsigned int) ;
extern int fd_ensure_open (int, int) ;
-#define fd_sanitize() (fd_ensure_open(0, 0) && fd_ensure_open(1, 1) && fd_ensure_open(2, 2))
+#define fd_sanitize() (fd_ensure_open(0, 0) && fd_ensure_open(1, 1) && fd_ensure_open(2, 1))
extern int lock_ex (int) ;
extern int lock_exnb (int) ;
extern int lock_sh (int) ;