aboutsummaryrefslogtreecommitdiff
path: root/cmd/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/cpu.c')
-rw-r--r--cmd/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cpu.c b/cmd/cpu.c
index a26234a..67dbb04 100644
--- a/cmd/cpu.c
+++ b/cmd/cpu.c
@@ -32,7 +32,7 @@ static int print_cpu_list(bool detail)
int ret, i;
ret = cpu_get_desc(dev, buf, sizeof(buf));
- printf("%3d: %-10s %s\n", dev->seq, dev->name,
+ printf("%3d: %-10s %s\n", dev_seq(dev), dev->name,
ret ? "<no description>" : buf);
if (!detail)
continue;