You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-crypt/ekeyd/files/ekeyd-1.1.5-const_char_usag...

33 lines
1.1 KiB

# HG changeset patch
# User kristianf
# Date 1382916823 -3600
# Mon Oct 28 00:33:43 2013 +0100
# Node ID 0d99149615ec5ec70a6d03c685291ddc55babff6
# Parent fd192324ff9ae4c4c92cdb9c27f5ae100da136a6
Rewrite static const char *usage
diff -r fd192324ff9a -r 0d99149615ec host/ekey-setkey.c
--- a/host/ekey-setkey.c Mon Oct 28 00:31:59 2013 +0100
+++ b/host/ekey-setkey.c Mon Oct 28 00:33:43 2013 +0100
@@ -79,7 +79,7 @@
return mac;
}
-static const char *usage =
+static const char usage[] =
"This is a low level tool. You probably wanted to use ekey-rekey instead.\n\n"
"Usage: %s [-d] [-h] [-n] [-f <keyring>] [-m <master>]\n"
" [-s <serial>] <path>\n"
diff -r fd192324ff9a -r 0d99149615ec host/ekeyd.c
--- a/host/ekeyd.c Mon Oct 28 00:31:59 2013 +0100
+++ b/host/ekeyd.c Mon Oct 28 00:33:43 2013 +0100
@@ -209,7 +209,7 @@
return (output_stream != NULL);
}
-static const char *usage=
+static const char usage[] =
"Usage: %s [-f <configfile>] [-p <pidfile>] [-v] [-h]\n"
"Entropy Key Daemon\n\n"
"\t-f Read configuration from configfile\n"