[PATCH 4/4] urngd: Add source information to log message

Petr Štetiar ynezz at true.cz
Mon Jul 13 10:54:07 EDT 2020


> -static size_t write_entropy(struct urngd *u, struct rand_pool_info *rpi)
> +static size_t write_entropy(struct urngd *u, struct rand_pool_info *rpi, char *src)

const char *src

> +		ret = write_entropy(u, rpi, "source");

source -> device (or file), see my comment in 3/4.

-- ynezz



More information about the openwrt-devel mailing list