Skip to content

Commit

Permalink
ALSA: riptide: fix %d confusingly prefixed with 0x in format strings
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Wennborg <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
zmodem authored and tiwai committed Aug 4, 2014
1 parent 04b9906 commit 47efe63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/pci/riptide/riptide.c
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ setmixer(struct cmdif *cif, short num, unsigned short rval, unsigned short lval)
union cmdret rptr = CMDRET_ZERO;
int i = 0;

snd_printdd("sent mixer %d: 0x%d 0x%d\n", num, rval, lval);
snd_printdd("sent mixer %d: 0x%x 0x%x\n", num, rval, lval);
do {
SEND_SDGV(cif, num, num, rval, lval);
SEND_RDGV(cif, num, num, &rptr);
Expand Down Expand Up @@ -1080,7 +1080,7 @@ getmixer(struct cmdif *cif, short num, unsigned short *rval,
return -EIO;
*rval = rptr.retwords[0];
*lval = rptr.retwords[1];
snd_printdd("got mixer %d: 0x%d 0x%d\n", num, *rval, *lval);
snd_printdd("got mixer %d: 0x%x 0x%x\n", num, *rval, *lval);
return 0;
}

Expand Down

0 comments on commit 47efe63

Please sign in to comment.