ASoC: wm8958: Use correct format string in dev_err() call

To print a value of type size_t one should use %zd, not %d.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Jesper Juhl 2012-01-23 21:15:48 +01:00 committed by Mark Brown
parent a14304edcd
commit 7edf1a4f27
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ static int wm8958_dsp2_fw(struct snd_soc_codec *codec, const char *name,
return 0;
if (fw->size < 32) {
dev_err(codec->dev, "%s: firmware too short (%d bytes)\n",
dev_err(codec->dev, "%s: firmware too short (%zd bytes)\n",
name, fw->size);
goto err;
}