From c61e14d3a8412cd50d98aab604e607692c844c8a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 21:33:30 +0200 Subject: Adding upstream version 2.40. Signed-off-by: Daniel Baumann --- sys-utils/lscpu-cpu.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'sys-utils/lscpu-cpu.c') 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 + */ #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; -- cgit v1.2.3