:: Re: [DNG] amixer-gtk (was: Re: mixe…
Top Page
Delete this message
Reply to this message
Author: aitor
Date:  
To: dng
Subject: Re: [DNG] amixer-gtk (was: Re: mixer for alsa)
On 26/2/23 20:56, aitor wrote:
>
> Btw, I think there is a mistake in the code of libudev-device.c (line
> 536):
>          ...
>     } else if (startswith ( property, "USEC_INITIALIZED=" ) ) {
>
> udev_device_set_usec_initialized(udev_device, strtoull (
> &property[19], NULL, 10 ) );
>
>     } else if ( startswith(property, "DRIVER=" ) ) {
>         ...
>
> It should be:
>
> udev_device_set_usec_initialized(udev_device, strtoull (
> &property[17], NULL, 10 ) );
>
> because the strlen of "USEC_INITIALIZED=" is equal to 17.
>
> Which is the right place to report this?
>

The link to the file:

https://git.devuan.org/devuan/eudev/src/branch/master/src/libudev/libudev-device.c