[Mesa-dev] [PATCH v3] HUD: Add support for block I/O, network I/O and lmsensor stats
Steven Toth
stoth at kernellabs.com
Wed Sep 28 12:45:38 UTC 2016
>> #define SOMEPREFIX "sensors_temp_cu-"
>> then
>> hud_sensors_temp_graph_install(pane, &name[sizeof(SOMEPREFIX - 1)]
>>
>> Or, have I misunderstood your comment?
>
>
> Thanks for explaining. But why not do this?
>
> else if (sscanf(name, "sensors_temp_cu-%s", arg_name) == 1) {
> hud_sensors_temp_graph_install(pane, arg_name, ...
>
> as you did in other places?
Ahh, I did indeed misunderstand your comment.
You are correct, an obvious oversight on my part. I've taken care of
it this morning.
--
Steven Toth - Kernel Labs
http://www.kernellabs.com
More information about the mesa-dev
mailing list