[zaptel-commits] branch 1.2 r930 - /branches/1.2/ztcfg.c

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Tue Jan 31 19:33:55 MST 2006


Author: russell
Date: Tue Jan 31 20:33:54 2006
New Revision: 930

URL: http://svn.digium.com/view/zaptel?rev=930&view=rev
Log:
fix a couple of typos in error messages

Modified:
    branches/1.2/ztcfg.c

Modified: branches/1.2/ztcfg.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/ztcfg.c?rev=930&r1=929&r2=930&view=diff
==============================================================================
--- branches/1.2/ztcfg.c (original)
+++ branches/1.2/ztcfg.c Tue Jan 31 20:33:54 2006
@@ -927,11 +927,11 @@
 		if (chans[x]) {
 			p.radpar = ZT_RADPAR_NUMTONES;
 			if (ind_ioctl(x,fd,ZT_RADIO_GETPARAM,&p) == -1)
-				error("Cannot get number of tones chanel %d\n",x);
+				error("Cannot get number of tones for channel %d\n",x);
 			n = p.data;
 			p.radpar = ZT_RADPAR_INITTONE;
 			if (ind_ioctl(x,fd,ZT_RADIO_SETPARAM,&p) == -1)
-				error("Cannot init tones chanel %d\n",x);
+				error("Cannot init tones for channel %d\n",x);
 			if (!rxtones[0]) for(i = 1; i <= n; i++)
 			{
 				if (rxtones[i])



More information about the zaptel-commits mailing list