Skip to content

Commit

Permalink
Merge branch 'lsclocks' of https://github.com/alanc/util-linux
Browse files Browse the repository at this point in the history
* 'lsclocks' of https://github.com/alanc/util-linux:
  lsclocks: use clock id from clock_getcpuclockid in add_cpu_clock
  • Loading branch information
karelzak committed Feb 5, 2024
2 parents 051e638 + 7b05403 commit ec895e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc-utils/lsclocks.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ static void add_cpu_clock(struct libscols_table *tb,

struct clockinfo clockinfo = {
.type = CT_CPU,
.id = clockid,
.name = name,
.no_id = true,
};
Expand Down

0 comments on commit ec895e4

Please sign in to comment.