summaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu.c
diff options
context:
space:
mode:
authorKarel Zak2010-12-01 11:20:45 +0100
committerKarel Zak2010-12-01 11:20:45 +0100
commit80dde62f9c926f013d32adb60938366522290245 (patch)
treed68b8912389ea1c133556062d3f56521a873bfde /sys-utils/lscpu.c
parentdocs: update TODO file (diff)
downloadkernel-qcow2-util-linux-80dde62f9c926f013d32adb60938366522290245.tar.gz
kernel-qcow2-util-linux-80dde62f9c926f013d32adb60938366522290245.tar.xz
kernel-qcow2-util-linux-80dde62f9c926f013d32adb60938366522290245.zip
lscpu: use GPLv2+
CAI Qian and I agree that GPLv2+ is better for lscpu.c. This license is more compatible (than v3) with the rest of the util-linux package. We need to link the code with functions from lib/ -- mix GPLv3 and GPLv2 is bad idea. Note that it was only Cai and I who did significant changes to lscpu.c, all others changes from others developers was trivial (fix typos, add _(), ...). Signed-off-by: CAI Qian <caiqian@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/lscpu.c')
-rw-r--r--sys-utils/lscpu.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c
index 0d0760f7c..ca2adb864 100644
--- a/sys-utils/lscpu.c
+++ b/sys-utils/lscpu.c
@@ -4,18 +4,19 @@
* Copyright (C) 2008 Cai Qian <qcai@redhat.com>
* Copyright (C) 2008 Karel Zak <kzak@redhat.com>
*
- * This program is free software: you can redistribute it and/or modify
+ * 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 3 of the License, or
+ * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
+ * This program is distributed in the hope that it would be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <ctype.h>