ALSA: asihpi - Use %zd for size_t argument in error message (again)
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Mar 2011 17:20:46 +0000 (18:20 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 20 Apr 2011 19:02:27 +0000 (21:02 +0200)
This was reverted mistakenly in the recent update patch.
Fixed again.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/hpi6205.c

index 53037342cd29f08f7f1b3c8c20d5ed781a5092f4..3b5562acb55ed02665cfd31ba0fb35028e109f1b 100644 (file)
@@ -2089,7 +2089,7 @@ static u16 message_response_sequence(struct hpi_adapter_obj *pao,
                phr->specific_error = sizeof(interface->u);
                phr->size = sizeof(struct hpi_response_header);
                HPI_DEBUG_LOG(ERROR,
-                       "message len %d too big for buffer %ld \n", phm->size,
+                       "message len %d too big for buffer %zd \n", phm->size,
                        sizeof(interface->u));
                return 0;
        }