summaryrefslogtreecommitdiff
path: root/fxotune.c
diff options
context:
space:
mode:
Diffstat (limited to 'fxotune.c')
-rwxr-xr-xfxotune.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fxotune.c b/fxotune.c
index 29eaa3b..6b29159 100755
--- a/fxotune.c
+++ b/fxotune.c
@@ -322,9 +322,9 @@ int main (int argc , char **argv)
int len = 0;
static char output[255] = "";
snprintf(output, sizeof(output), "%d=%d,%d,%d,%d,%d,%d,%d,%d,%d\n", i+1,
- echo_trys[i].acim, echo_trys[i].coef1, echo_trys[i].coef2,
- echo_trys[i].coef3, echo_trys[i].coef4, echo_trys[i].coef5,
- echo_trys[i].coef6, echo_trys[i].coef7, echo_trys[i].coef8 );
+ echo_trys[res].acim, echo_trys[res].coef1, echo_trys[res].coef2,
+ echo_trys[res].coef3, echo_trys[res].coef4, echo_trys[res].coef5,
+ echo_trys[res].coef6, echo_trys[res].coef7, echo_trys[res].coef8 );
len = strlen(output);
res = write(configfd, output, strlen(output));