pandora: defconfig: update
[pandora-kernel.git] / net / bluetooth / rfcomm / tty.c
index c258796..bc1eb56 100644 (file)
@@ -471,7 +471,7 @@ static int rfcomm_get_dev_list(void __user *arg)
 
        size = sizeof(*dl) + dev_num * sizeof(*di);
 
-       dl = kmalloc(size, GFP_KERNEL);
+       dl = kzalloc(size, GFP_KERNEL);
        if (!dl)
                return -ENOMEM;