summaryrefslogtreecommitdiffstats
path: root/misc-utils/mcookie.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc-utils/mcookie.c')
-rw-r--r--misc-utils/mcookie.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/misc-utils/mcookie.c b/misc-utils/mcookie.c
index be5c34a..99df4f4 100644
--- a/misc-utils/mcookie.c
+++ b/misc-utils/mcookie.c
@@ -1,4 +1,8 @@
-/* mcookie.c -- Generates random numbers for xauth
+/*
+ * No copyright is claimed. This code is in the public domain; do with
+ * it what you wish.
+ *
+ * mcookie.c -- Generates random numbers for xauth
* Created: Fri Feb 3 10:42:48 1995 by faith@cs.unc.edu
* Revised: Fri Mar 19 07:48:01 1999 by faith@acm.org
* Public Domain 1995, 1999 Rickard E. Faith (faith@acm.org)
@@ -91,12 +95,12 @@ static void __attribute__((__noreturn__)) usage(void)
fputs(_(" -v, --verbose explain what is being done\n"), out);
fputs(USAGE_SEPARATOR, out);
- printf(USAGE_HELP_OPTIONS(23));
+ fprintf(out, USAGE_HELP_OPTIONS(23));
fputs(USAGE_ARGUMENTS, out);
- printf(USAGE_ARG_SIZE(_("<num>")));
+ fprintf(out, USAGE_ARG_SIZE(_("<num>")));
- printf(USAGE_MAN_TAIL("mcookie(1)"));
+ fprintf(out, USAGE_MAN_TAIL("mcookie(1)"));
exit(EXIT_SUCCESS);
}