summaryrefslogtreecommitdiff
path: root/apps/plugins/sort.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sort.c')
-rw-r--r--apps/plugins/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/sort.c b/apps/plugins/sort.c
index 77342f33e9..80ef22fa44 100644
--- a/apps/plugins/sort.c
+++ b/apps/plugins/sort.c
@@ -140,7 +140,7 @@ static int write_file(void)
140 140
141 /* Create a temporary file */ 141 /* Create a temporary file */
142 rb->snprintf(tmpfilename, MAX_PATH+1, "%s.tmp", filename); 142 rb->snprintf(tmpfilename, MAX_PATH+1, "%s.tmp", filename);
143 fd = rb->creat(tmpfilename, O_WRONLY); 143 fd = rb->creat(tmpfilename);
144 if(fd < 0) 144 if(fd < 0)
145 return 10 * fd - 1; 145 return 10 * fd - 1;
146 146