aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/asihpi
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-03-08 12:20:46 -0500
committerTakashi Iwai <tiwai@suse.de>2011-04-20 15:02:27 -0400
commite66d74ced12699ed9b7ac62f68b44d842a817ecd (patch)
treee796de503ff1883c5bf70df152deb1e7bb7be214 /sound/pci/asihpi
parentb6a48404088d91514b9e78c3237976a5aa87cb14 (diff)
ALSA: asihpi - Use %zd for size_t argument in error message (again)
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>
Diffstat (limited to 'sound/pci/asihpi')
-rw-r--r--sound/pci/asihpi/hpi6205.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/asihpi/hpi6205.c b/sound/pci/asihpi/hpi6205.c
index 53037342cd29..3b5562acb55e 100644
--- a/sound/pci/asihpi/hpi6205.c
+++ b/sound/pci/asihpi/hpi6205.c
@@ -2089,7 +2089,7 @@ static u16 message_response_sequence(struct hpi_adapter_obj *pao,
2089 phr->specific_error = sizeof(interface->u); 2089 phr->specific_error = sizeof(interface->u);
2090 phr->size = sizeof(struct hpi_response_header); 2090 phr->size = sizeof(struct hpi_response_header);
2091 HPI_DEBUG_LOG(ERROR, 2091 HPI_DEBUG_LOG(ERROR,
2092 "message len %d too big for buffer %ld \n", phm->size, 2092 "message len %d too big for buffer %zd \n", phm->size,
2093 sizeof(interface->u)); 2093 sizeof(interface->u));
2094 return 0; 2094 return 0;
2095 } 2095 }