diff options
Diffstat (limited to 'editors/sed.c')
-rw-r--r-- | editors/sed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c index 2f6fc174c..dcc2ca06b 100644 --- a/editors/sed.c +++ b/editors/sed.c | |||
@@ -1191,7 +1191,7 @@ extern int sed_main(int argc, char **argv) | |||
1191 | if(in_place) { | 1191 | if(in_place) { |
1192 | struct stat statbuf; | 1192 | struct stat statbuf; |
1193 | int nonstdoutfd; | 1193 | int nonstdoutfd; |
1194 | 1194 | ||
1195 | outname=bb_xstrndup(argv[i],strlen(argv[i])+6); | 1195 | outname=bb_xstrndup(argv[i],strlen(argv[i])+6); |
1196 | strcat(outname,"XXXXXX"); | 1196 | strcat(outname,"XXXXXX"); |
1197 | if(-1==(nonstdoutfd=mkstemp(outname))) | 1197 | if(-1==(nonstdoutfd=mkstemp(outname))) |