aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bhnd
diff options
context:
space:
mode:
authorOleksandr Tymoshenko <gonzo@FreeBSD.org>2019-01-25 21:38:28 +0000
committerOleksandr Tymoshenko <gonzo@FreeBSD.org>2019-01-25 21:38:28 +0000
commitf913a5749fb75c730178a543d1501677dcc30574 (patch)
tree98084266eca1c8523f7c99a536665a514f1fef16 /sys/dev/bhnd
parentdab83bd1e8d2a1c677530a4c8d6d1fa2e2c6dc2e (diff)
downloadsrc-f913a5749fb75c730178a543d1501677dcc30574.tar.gz
src-f913a5749fb75c730178a543d1501677dcc30574.zip
Fix format/arg mismatch
USe correct format for int arguments PR: 229549 Submitted by: David Binderman <dcb314@hotmail.com> MFC after: 1 week
Notes
Notes: svn path=/head/; revision=343458
Diffstat (limited to 'sys/dev/bhnd')
-rw-r--r--sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c b/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c
index 7844c4e3613e..36c0e295f8e4 100644
--- a/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c
+++ b/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c
@@ -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);