Return to server.c CVS log | Up to [local] / src / usr.bin / rdistd |
version 1.45, 2018/09/21 19:13:49 | version 1.46, 2019/06/28 05:35:35 | ||
---|---|---|---|
|
|
||
/* | /* | ||
* Create temporary file | * Create temporary file | ||
*/ | */ | ||
if (chkparent(new, opts) < 0 || (f = mkstemp(new)) < 0) { | if (chkparent(new, opts) < 0 || (f = mkstemp(new)) == -1) { | ||
error("%s: create failed: %s", new, SYSERR); | error("%s: create failed: %s", new, SYSERR); | ||
return; | return; | ||
} | } |