]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/pci/korg1212/korg1212.c
lib/vsprintf.c: remove %Z support
[karo-tx-linux.git] / sound / pci / korg1212 / korg1212.c
index 565f7f55c3ca4d44bf0156e7da0c7bafe3863271..1e25095fd144383930fb837806c4b91d147039ca 100644 (file)
@@ -2051,7 +2051,7 @@ static void snd_korg1212_proc_read(struct snd_info_entry *entry,
        snd_iprintf(buffer, korg1212->card->longname);
        snd_iprintf(buffer, " (index #%d)\n", korg1212->card->number + 1);
        snd_iprintf(buffer, "\nGeneral settings\n");
-       snd_iprintf(buffer, "    period size: %Zd bytes\n", K1212_PERIOD_BYTES);
+       snd_iprintf(buffer, "    period size: %zd bytes\n", K1212_PERIOD_BYTES);
        snd_iprintf(buffer, "     clock mode: %s\n", clockSourceName[korg1212->clkSrcRate] );
        snd_iprintf(buffer, "  left ADC Sens: %d\n", korg1212->leftADCInSens );
        snd_iprintf(buffer, " right ADC Sens: %d\n", korg1212->rightADCInSens );
@@ -2276,7 +2276,7 @@ static int snd_korg1212_create(struct snd_card *card, struct pci_dev *pci,
 
        if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci),
                                sizeof(struct KorgSharedBuffer), &korg1212->dma_shared) < 0) {
-               snd_printk(KERN_ERR "korg1212: can not allocate shared buffer memory (%Zd bytes)\n", sizeof(struct KorgSharedBuffer));
+               snd_printk(KERN_ERR "korg1212: can not allocate shared buffer memory (%zd bytes)\n", sizeof(struct KorgSharedBuffer));
                 snd_korg1212_free(korg1212);
                 return -ENOMEM;
         }