Skip to content

Commit f762b71

Browse files
Zhu Juntiwai
authored andcommitted
ALSA: dbri: Fix formatting issue in dbri.c
Changed sprintf format specifier for rp->start from %016Lx to %016llx to correctly handle unsigned long long values. Signed-off-by: Zhu Jun <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 9930c26 commit f762b71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/sparc/dbri.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2616,7 +2616,7 @@ static int dbri_probe(struct platform_device *op)
26162616
strcpy(card->driver, "DBRI");
26172617
strcpy(card->shortname, "Sun DBRI");
26182618
rp = &op->resource[0];
2619-
sprintf(card->longname, "%s at 0x%02lx:0x%016Lx, irq %d",
2619+
sprintf(card->longname, "%s at 0x%02lx:0x%016llx, irq %d",
26202620
card->shortname,
26212621
rp->flags & 0xffL, (unsigned long long)rp->start, irq);
26222622

0 commit comments

Comments
 (0)