diff options
Diffstat (limited to 'src/system.c')
-rw-r--r-- | src/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system.c b/src/system.c index 154bd87..17b9a13 100644 --- a/src/system.c +++ b/src/system.c @@ -15,7 +15,7 @@ int shell(struct Process *proc, char *args) { FILE *tp = NULL; char *t_name; - t_name = xmkstemp(&tp); + t_name = xmkstemp(&tp, "w"); if (!t_name || !tp) { return -1; } |