summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xChangeLog1
-rwxr-xr-xztcfg.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d4b8276..33d74cc 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
-- added some use counts to prevent kernel panics when improperly unloading modules
-- fixed a problem in the Makefile that would cause problems if the system did not
have 'chkconfig'
+ -- fixed a problem with ztcfg ignoring the first number in the span= line
zaptel 1.0.7
-- Makefile
-- An alias has been added so that you can load wcfxs with 'modprobe wctdm'.
diff --git a/ztcfg.c b/ztcfg.c
index b85cd56..f2813aa 100755
--- a/ztcfg.c
+++ b/ztcfg.c
@@ -267,7 +267,7 @@ int spanconfig(char *keyword, char *args)
return -1;
}
}
- lc[spans].span = spans + 1;
+ lc[spans].span = span;
lc[spans].sync = timing;
/* Valid span */
spans++;