summaryrefslogtreecommitdiffstats
path: root/sys-utils/rfkill.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sys-utils/rfkill.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-utils/rfkill.c b/sys-utils/rfkill.c
index c4ee137..167d3a2 100644
--- a/sys-utils/rfkill.c
+++ b/sys-utils/rfkill.c
@@ -1,4 +1,6 @@
/*
+ * SPDX-License-Identifier: ISC
+ *
* /dev/rfkill userspace tool
*
* Copyright 2009 Johannes Berg <johannes@sipsolutions.net>
@@ -19,7 +21,6 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-
#include <ctype.h>
#include <getopt.h>
#include <libsmartcols.h>
@@ -643,7 +644,7 @@ static void __attribute__((__noreturn__)) usage(void)
fputs(_(" -r, --raw use the raw output format\n"), stdout);
fputs(USAGE_SEPARATOR, stdout);
- printf(USAGE_HELP_OPTIONS(24));
+ fprintf(stdout, USAGE_HELP_OPTIONS(24));
fputs(USAGE_COLUMNS, stdout);
for (i = 0; i < ARRAY_SIZE(infos); i++)