summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-21 20:54:14 +0000
committerqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-21 20:54:14 +0000
commit5c94e1b148c03e7f25678dd4d7e7327c1f66f40e (patch)
tree2251ae2cd3ff691b1ef12820880630b0cee61afe
parentd50016d796564397cc7c969d5b624cda812e95cb (diff)
Fix compiler error when building with CONFIG_ZAPATA_PPP.
Closes issue #11807. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3716 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--zaptel-base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zaptel-base.c b/zaptel-base.c
index 304e3e0..23d1943 100644
--- a/zaptel-base.c
+++ b/zaptel-base.c
@@ -4521,6 +4521,7 @@ static int zt_chan_ioctl(struct inode *inode, struct file *file, unsigned int cm
if (!chan->ppp) {
chan->ppp = kmalloc(sizeof(struct ppp_channel), GFP_KERNEL);
if (chan->ppp) {
+ struct echo_can_state *tec;
memset(chan->ppp, 0, sizeof(struct ppp_channel));
chan->ppp->private = chan;
chan->ppp->ops = &ztppp_ops;