diff options
Diffstat (limited to 'src/deliverable.c')
-rw-r--r-- | src/deliverable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deliverable.c b/src/deliverable.c index 4397c1c..b935b64 100644 --- a/src/deliverable.c +++ b/src/deliverable.c @@ -1215,7 +1215,7 @@ void delivery_rewrite_spec(struct Delivery *ctx, char *filename) { msg(OMC_MSG_ERROR, "failed to generate release header string\n", filename); exit(1); } - tempfile = xmkstemp(&tp); + tempfile = xmkstemp(&tp, "w"); if (!tempfile || !tp) { msg(OMC_MSG_ERROR, "%s: unable to create temporary file\n", strerror(errno)); exit(1); |