summaryrefslogtreecommitdiff
path: root/fxotune.c
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-11 00:20:49 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-11 00:20:49 +0000
commitd91c38225a1faa429d4422591b72dea4ecfc7753 (patch)
treeb897d7a864c3ed42d4fec8ff1e61892c16a2bd3f /fxotune.c
parentdaa16642193eea53061c85bc0ebd914d3e2ab600 (diff)
Gathering all the various changes/fixes that I made this weekend
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@537 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'fxotune.c')
-rwxr-xr-xfxotune.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxotune.c b/fxotune.c
index 4d11eeb..da6debd 100755
--- a/fxotune.c
+++ b/fxotune.c
@@ -235,8 +235,8 @@ int main (int argc , char **argv)
return -1;
}
- for (i = 0; i < 255; i++) {
- snprintf(zapdev, sizeof(zapdev), "%s/%d", zappath, i);
+ for (i = 0; i < 252; i++) {
+ snprintf(zapdev, sizeof(zapdev), "%s/%d", zappath, i+1);
fd = open(zapdev, O_RDWR);
if (fd < 0) {