svn commit: r243616 - stable/9/sys/dev/mmc

Ed Maste emaste at FreeBSD.org
Tue Nov 27 16:20:45 UTC 2012


Author: emaste
Date: Tue Nov 27 16:20:44 2012
New Revision: 243616
URL: http://svnweb.freebsd.org/changeset/base/243616

Log:
  MFC r243387: Use %u for unsigned serial number

Modified:
  stable/9/sys/dev/mmc/mmc.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/mmc/mmc.c
==============================================================================
--- stable/9/sys/dev/mmc/mmc.c	Tue Nov 27 12:23:57 2012	(r243615)
+++ stable/9/sys/dev/mmc/mmc.c	Tue Nov 27 16:20:44 2012	(r243616)
@@ -878,7 +878,7 @@ mmc_format_card_id_string(struct mmc_iva
 	else
 		snprintf(oidstr, sizeof(oidstr), "0x%04x", ivar->cid.oid);
 	snprintf(ivar->card_id_string, sizeof(ivar->card_id_string),
-	    "%s%s %s %d.%d SN %d MFG %02d/%04d by %d %s",
+	    "%s%s %s %d.%d SN %u MFG %02d/%04d by %d %s",
 	    ivar->mode == mode_sd ? "SD" : "MMC", ivar->high_cap ? "HC" : "",
 	    ivar->cid.pnm, ivar->cid.prv >> 4, ivar->cid.prv & 0x0f,
 	    ivar->cid.psn, ivar->cid.mdt_month, ivar->cid.mdt_year,


More information about the svn-src-stable mailing list