summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-09-14 19:52:52 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-09-14 19:52:52 +0000
commit4809a129141e72982d50c29644cec080d4fce125 (patch)
tree48ddca757ca131e553e4067c141bffdf6e240d98
parent5f1ac35511b91a9683ce16398bc1c5b49098545e (diff)
Revert "fix" for bug #5181
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@766 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xfxotune.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fxotune.c b/fxotune.c
index 435ce5b..0b14444 100755
--- a/fxotune.c
+++ b/fxotune.c
@@ -303,10 +303,9 @@ static int acim_tune(int whichzap, char *dialstr)
float acim_results[16];
- outfile = tmpfile();
+ outfile = fopen("/tmp/fxotune.vals", "w");
if (!outfile) {
- fprintf(stdout, "Cannot create temporary file: %d (%s)\n",
- errno, strerror(errno));
+ fprintf(stdout, "Cannot create /tmp/fxotune.vals\n");
return -1;
}