From d91c38225a1faa429d4422591b72dea4ecfc7753 Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 11 Jan 2005 00:20:49 +0000 Subject: 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 --- fxotune.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fxotune.c') 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) { -- cgit v1.2.3