Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2019 10:24:57 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r343740 - stable/12/sys/dev/bhnd/cores/pmu
Message-ID:  <201902041024.x14AOvkN033486@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902041024.x14AOvkN033486>