mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
pwm: Fix some arches by using %ju and casting to uintmax_t
Reported by: ci.freebsd.org
This commit is contained in:
parent
41dd88513b
commit
d9848bd254
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342007
@ -190,9 +190,9 @@ main(int argc, char *argv[])
|
||||
}
|
||||
break;
|
||||
case PWM_SHOW_CONFIG:
|
||||
printf("period: %lu\nduty: %lu\nenabled:%d\n",
|
||||
state.period,
|
||||
state.duty,
|
||||
printf("period: %ju\nduty: %ju\nenabled:%d\n",
|
||||
(uintmax_t) state.period,
|
||||
(uintmax_t) state.duty,
|
||||
state.enable);
|
||||
break;
|
||||
case PWM_PERIOD:
|
||||
|
Loading…
Reference in New Issue
Block a user