aboutsummaryrefslogtreecommitdiff
path: root/packages/sound/Makefile
diff options
context:
space:
mode:
authorShengYi Hung <aokblast@FreeBSD.org>2026-09-26 06:42:39 +0000
committerShengYi Hung <aokblast@FreeBSD.org>2026-09-26 06:45:08 +0000
commit228b1a011660ee1005bc4ab7c97113af8d87fe5c (patch)
tree457ea491e36d7fe8f8a5ec131661a233023a7414 /packages/sound/Makefile
parentd8acc2a9a431b4d57ef79b2ca3113ecf33b95d8d (diff)
uchcom: Set rate to 1 if 0HEADmain
If userspace provides rate == 0, it causes kernel panic as rate is directly used as a divident, which cannot be zero. Fix it by set the rate to 1 if it is passed as 0. Reviewed by: imp, emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59111
Diffstat (limited to 'packages/sound/Makefile')
0 files changed, 0 insertions, 0 deletions