summaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu-cpu.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:34 +0000
commit1272be04be0cb803eec87f602edb2e3e6f111aea (patch)
treebce17f6478cdd9f3c4ec3d751135dc42786d6a56 /sys-utils/lscpu-cpu.c
parentReleasing progress-linux version 2.39.3-11~progress7.99u1. (diff)
downloadutil-linux-1272be04be0cb803eec87f602edb2e3e6f111aea.tar.xz
util-linux-1272be04be0cb803eec87f602edb2e3e6f111aea.zip
Merging upstream version 2.40.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sys-utils/lscpu-cpu.c')
-rw-r--r--sys-utils/lscpu-cpu.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys-utils/lscpu-cpu.c b/sys-utils/lscpu-cpu.c
index 6250cf7..9e1e0c4 100644
--- a/sys-utils/lscpu-cpu.c
+++ b/sys-utils/lscpu-cpu.c
@@ -1,3 +1,13 @@
+/*
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Copyright (C) 2020 Karel Zak <kzak@redhat.com>
+ */
#include "lscpu.h"
struct lscpu_cpu *lscpu_new_cpu(int id)
@@ -10,7 +20,7 @@ struct lscpu_cpu *lscpu_new_cpu(int id)
cpu->coreid = -1;
cpu->socketid = -1;
cpu->bookid = -1;
- cpu->bookid = -1;
+ cpu->drawerid = -1;
cpu->address = -1;
cpu->configured = -1;