aboutsummaryrefslogtreecommitdiffstats
path: root/sys-utils/ldattach.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2023-12-11 13:37:41 +0100
committerKarel Zak <kzak@redhat.com>2023-12-11 13:37:41 +0100
commit9abd5e4b99fb2d78d8dbbb9144aef68972c65e83 (patch)
tree94d16c7234750cf0c932d12023ed860cb767284f /sys-utils/ldattach.c
parent35fe9802cf584c4ff2acce67e695d67bad34361c (diff)
downloadutil-linux-9abd5e4b99fb2d78d8dbbb9144aef68972c65e83.tar.gz
sys-utils: cleanup license lines, add SPDX
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/ldattach.c')
-rw-r--r--sys-utils/ldattach.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/sys-utils/ldattach.c b/sys-utils/ldattach.c
index 0282abd0b2..2a24b3d6f4 100644
--- a/sys-utils/ldattach.c
+++ b/sys-utils/ldattach.c
@@ -1,17 +1,14 @@
-/* line discipline loading daemon
- * open a serial device and attach a line discipline on it
+/*
+ * SPDX-License-Identifier: GPL-2.0-or-later
*
- * Usage:
- * ldattach GIGASET_M101 /dev/ttyS0
+ * 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.
*
- * =====================================================================
- * 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.
- * =====================================================================
+ * Line discipline loading daemon open a serial device and attach a line
+ * discipline on it.
*/
-
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>