summaryrefslogtreecommitdiff
path: root/usr.sbin/pwm/pwm.c
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2018-12-14 18:37:26 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2018-12-14 18:37:26 +0000
commit6a9997ed67b564bf37552df18335fa6c49815671 (patch)
tree7a94611a4032e04c1f22df384c45e0f7136dcefe /usr.sbin/pwm/pwm.c
parent8b2de3f0d4602c920f20a5a5a79ee9576cf6baaa (diff)
downloadsrc-test2-6a9997ed67b564bf37552df18335fa6c49815671.tar.gz
src-test2-6a9997ed67b564bf37552df18335fa6c49815671.zip
Notes
Diffstat (limited to 'usr.sbin/pwm/pwm.c')
-rw-r--r--usr.sbin/pwm/pwm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pwm/pwm.c b/usr.sbin/pwm/pwm.c
index 394840328fa2..ebb4349635fd 100644
--- a/usr.sbin/pwm/pwm.c
+++ b/usr.sbin/pwm/pwm.c
@@ -190,9 +190,9 @@ main(int argc, char *argv[])
}
break;
case PWM_SHOW_CONFIG:
- printf("period: %ju\nduty: %ju\nenabled:%d\n",
- (uintmax_t) state.period,
- (uintmax_t) state.duty,
+ printf("period: %u\nduty: %u\nenabled:%d\n",
+ state.period,
+ state.duty,
state.enable);
break;
case PWM_PERIOD: