aboutsummaryrefslogtreecommitdiffstats
path: root/disk-utils/cfdisk.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2023-11-01 14:47:41 +0100
committerKarel Zak <kzak@redhat.com>2023-11-01 14:47:41 +0100
commit9e95aa1298d67331cab00f385d7e0cb9c64a263b (patch)
tree267855c5a5c5dce27b53d4960fcb3a02610bf8d5 /disk-utils/cfdisk.c
parent001baf5ad4f614fd0756bd8e4c5fea468f53e227 (diff)
downloadutil-linux-9e95aa1298d67331cab00f385d7e0cb9c64a263b.tar.gz
disk-utils: add SPDX and Copyright notices
Explicitly state the license (usually GPL-2.0-or-later; our default) and include copyright statements in all files to prevent false positive reports from license analysis tools. Add also add SPDX-License-Identifier tag to all files. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/cfdisk.c')
-rw-r--r--disk-utils/cfdisk.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index 01069b7af2..9cf0346425 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -1,4 +1,11 @@
/*
+ * 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.
+ *
* cfdisk.c - Display or manipulate a disk partition table.
*
* Copyright (C) 2014-2023 Karel Zak <kzak@redhat.com>
@@ -6,11 +13,6 @@
*
* The original cfdisk was inspired by the fdisk program
* by A. V. Le Blanc (leblanc@mcc.ac.uk.
- *
- * cfdisk 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.
*/
#include <stdlib.h>
#include <stdio.h>