svn commit: r343740 - stable/12/sys/dev/bhnd/cores/pmu

Oleksandr Tymoshenko gonzo at FreeBSD.org
Mon Feb 4 10:24:58 UTC 2019


Author: gonzo
Date: Mon Feb  4 10:24:57 2019
New Revision: 343740
URL: https://svnweb.freebsd.org/changeset/base/343740

Log:
  MFC r343458:
  
  Fix format/arg mismatch
  
  USe correct format for int arguments
  
  PR:		229549
  Submitted by:	David Binderman <dcb314 at hotmail.com>

Modified:
  stable/12/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c
==============================================================================
--- stable/12/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c	Mon Feb  4 10:24:16 2019	(r343739)
+++ stable/12/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c	Mon Feb  4 10:24:57 2019	(r343740)
@@ -1036,7 +1036,7 @@ bhnd_pmu_res_init(struct bhnd_pmu_softc *sc)
 			return (error);
 		}
 
-		PMU_DEBUG(sc, "Applying %s=%s to rsrc %d res_updn_timer\n",
+		PMU_DEBUG(sc, "Applying %s=%d to rsrc %d res_updn_timer\n",
 		    name, val, i);
 
 		BHND_PMU_WRITE_4(sc, BHND_PMU_RES_TABLE_SEL, i);
@@ -1111,7 +1111,7 @@ bhnd_pmu_res_init(struct bhnd_pmu_softc *sc)
 			return (error);
 		}
 
-		PMU_DEBUG(sc, "Applying %s=%s to rsrc %d res_dep_mask\n", name,
+		PMU_DEBUG(sc, "Applying %s=%d to rsrc %d res_dep_mask\n", name,
 		    val, i);
 
 		BHND_PMU_WRITE_4(sc, BHND_PMU_RES_TABLE_SEL, i);


More information about the svn-src-all mailing list