Fix inverted arguments for lseek()

Patch from Maxime Villard <rustyBSD@gmx.fr>
"Hum, I've made a mistake in e_fm_op.c with lseek(), I inverted
the two last arguments. However it's not harmful, as SEEK_SET=0.:


SVN revision: 81697
This commit is contained in:
Igor Murzov 2012-12-25 18:12:31 +00:00
parent 62950bd494
commit b96d338097
1 changed files with 1 additions and 1 deletions

View File

@ -1752,7 +1752,7 @@ _e_fm_op_destroy_atom(E_Fm_Op_Task *task)
if (task->passes == NB_PASS)
goto finish;
if (lseek(fd, SEEK_SET, 0) == -1)
if (lseek(fd, 0, SEEK_SET) == -1)
goto finish;
task->pos = 0;