diff options
Diffstat (limited to 'editors/patch_toybox.c')
-rw-r--r-- | editors/patch_toybox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/patch_toybox.c b/editors/patch_toybox.c index 3ffbf9084..aebab8132 100644 --- a/editors/patch_toybox.c +++ b/editors/patch_toybox.c | |||
@@ -200,7 +200,7 @@ int copy_tempfile(int fdin, char *name, char **tempname) | |||
200 | 200 | ||
201 | *tempname = xasprintf("%sXXXXXX", name); | 201 | *tempname = xasprintf("%sXXXXXX", name); |
202 | fd = mkstemp(*tempname); | 202 | fd = mkstemp(*tempname); |
203 | if(-1 == fd) bb_perror_msg_and_die("no temp file"); | 203 | if(-1 == fd) bb_simple_perror_msg_and_die("no temp file"); |
204 | 204 | ||
205 | // Set permissions of output file | 205 | // Set permissions of output file |
206 | fstat(fdin, &statbuf); | 206 | fstat(fdin, &statbuf); |