summaryrefslogtreecommitdiff
path: root/src/libs6
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6')
-rw-r--r--src/libs6/ftrig1_make.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs6/ftrig1_make.c b/src/libs6/ftrig1_make.c
index 2c224e5..16995d4 100644
--- a/src/libs6/ftrig1_make.c
+++ b/src/libs6/ftrig1_make.c
@@ -29,6 +29,7 @@ int ftrig1_make (ftrig1_t *f, char const *path)
memcpy(tmp + pathlen + FTRIG1_PREFIXLEN + 28, ":XXXXXX", 8) ;
ff.fd = mkptemp(tmp) ;
if (ff.fd == -1) return 0 ;
+ if (ndelay_on(ff.fd) == -1) goto err1 ;
ff.fdw = open_write(tmp) ;
if (ff.fdw == -1) goto err1 ;
if (!stralloc_ready(&ff.name, pathlen + FTRIG1_PREFIXLEN + 36)) goto err2 ;