Skip to content

Commit

Permalink
ALSA: asihpi - Use %zd for size_t argument in error message (again)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Takashi Iwai committed Apr 20, 2011
1 parent b6a4840 commit e66d74c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/asihpi/hpi6205.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e66d74c

Please sign in to comment.