vserver 1.9.3
[linux-2.6.git] / sound / core / seq / oss / seq_oss_writeq.c
index 9f8a543..1382038 100644 (file)
@@ -37,7 +37,7 @@ snd_seq_oss_writeq_new(seq_oss_devinfo_t *dp, int maxlen)
        seq_oss_writeq_t *q;
        snd_seq_client_pool_t pool;
 
-       if ((q = snd_kcalloc(sizeof(*q), GFP_KERNEL)) == NULL)
+       if ((q = kcalloc(1, sizeof(*q), GFP_KERNEL)) == NULL)
                return NULL;
        q->dp = dp;
        q->maxlen = maxlen;