Not including "/dev/" in the devnode string makes it hard for consumer
to use this field.
Sponsored by: The FreeBSD Foundation
MFC after 2 days
Differential D46162
sound: Fix sndstat's devnode field christos on Jul 26 2024, 1:28 PM. Authored by Tags None Referenced Files
Subscribers
Details
Not including "/dev/" in the devnode string makes it hard for consumer Sponsored by: The FreeBSD Foundation
Diff Detail
Event TimelineComment Actions I don't really see why this change is useful, and it looks like it could break scripts etc. that scrape sndstat. Comment Actions I find it easier to use it to test paths this way, otherwise the application will have to slice the input string in order to match this format. However, I do not really mind to abandon this patch if you think it'd be more of a problem than help. |