svn commit: r343458 - head/sys/dev/bhnd/cores/pmu

Oleksandr Tymoshenko gonzo at FreeBSD.org
Fri Jan 25 21:38:29 UTC 2019


Author: gonzo
Date: Fri Jan 25 21:38:28 2019
New Revision: 343458
URL: https://svnweb.freebsd.org/changeset/base/343458

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

Modified:
  head/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c

Modified: head/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c
==============================================================================
--- head/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c	Fri Jan 25 21:24:09 2019	(r343457)
+++ head/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c	Fri Jan 25 21:38:28 2019	(r343458)
@@ -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