summaryrefslogtreecommitdiffstats
path: root/bchannel.c
diff options
context:
space:
mode:
authorAndreas Eversberg2008-09-12 07:43:21 +0200
committerAndreas Eversberg2008-09-12 07:43:21 +0200
commit2ce5c9f92fb56c3371b7f35b606d62e1bdd68470 (patch)
tree743dd5e5ad7567b5cd792264e02928ae19d8c865 /bchannel.c
parentPorts can now be specified by number or by name. (diff)
downloadlcr-2ce5c9f92fb56c3371b7f35b606d62e1bdd68470.tar.gz
lcr-2ce5c9f92fb56c3371b7f35b606d62e1bdd68470.tar.xz
lcr-2ce5c9f92fb56c3371b7f35b606d62e1bdd68470.zip
Corrected error print, if mISDN_dsp.ko module cannot be loaded.
modified: README modified: bchannel.c modified: mISDN.cpp modified: main.c
Diffstat (limited to 'bchannel.c')
-rw-r--r--bchannel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bchannel.c b/bchannel.c
index 3625eba..c25d770 100644
--- a/bchannel.c
+++ b/bchannel.c
@@ -148,7 +148,7 @@ int bchannel_create(struct bchannel *bchannel, int mode)
}
if (bchannel->b_sock < 0)
{
- CERROR(bchannel->call, NULL, "Failed to open bchannel-socket for handle 0x%x with mISDN-DSP layer. Did you load mISDNdsp.ko?\n", bchannel->handle);
+ CERROR(bchannel->call, NULL, "Failed to open bchannel-socket for handle 0x%x with mISDN-DSP layer. Did you load mISDN_dsp.ko?\n", bchannel->handle);
return(0);
}
@@ -169,7 +169,7 @@ int bchannel_create(struct bchannel *bchannel, int mode)
ret = bind(bchannel->b_sock, (struct sockaddr *)&addr, sizeof(addr));
if (ret < 0)
{
- CERROR(bchannel->call, NULL, "Failed to bind bchannel-socket for handle 0x%x with mISDN-DSP layer. (port %d, channel %d) Did you load mISDNdsp.ko?\n", bchannel->handle, addr.dev, addr.channel);
+ CERROR(bchannel->call, NULL, "Failed to bind bchannel-socket for handle 0x%x with mISDN-DSP layer. (port %d, channel %d) Did you load mISDN_dsp.ko?\n", bchannel->handle, addr.dev, addr.channel);
close(bchannel->b_sock);
bchannel->b_sock = -1;
return(0);