aboutsummaryrefslogtreecommitdiffstats
path: root/disk-utils/fdisk-menu.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/fdisk-menu.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/fdisk-menu.c')
-rw-r--r--disk-utils/fdisk-menu.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/disk-utils/fdisk-menu.c b/disk-utils/fdisk-menu.c
index 52282dde61..5cf00026ae 100644
--- a/disk-utils/fdisk-menu.c
+++ b/disk-utils/fdisk-menu.c
@@ -1,4 +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) 2014 Karel Zak <kzak@redhat.com>
+ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>