summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-02-14 20:37:17 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-02-14 20:37:17 +0100
commit254a4d43674a0d5fe8f8475e3b625924691048d3 (patch)
treeed4e300d349820a3ec3435009bf05b31cd7de0f8
parent9e6649f31e1769ca3b2545993ef51f2039848719 (diff)
Fix function name
* procfs/main.c (set_default_options): Rename to set_compatibility_options. (argp_parser): Update call accordingly.
-rw-r--r--procfs/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/procfs/main.c b/procfs/main.c
index 5f84d625..857eac4a 100644
--- a/procfs/main.c
+++ b/procfs/main.c
@@ -50,7 +50,7 @@ uid_t opt_anon_owner;
#define NOEXEC_KEY -2 /* Likewise. */
#define NOSUID_KEY -3 /* Likewise. */
-static void set_default_options (void)
+static void set_compatibility_options (void)
{
opt_clk_tck = 100;
opt_stat_mode = 0444;
@@ -104,7 +104,7 @@ argp_parser (int key, char *arg, struct argp_state *state)
break;
case 'c':
- set_default_options();
+ set_compatibility_options();
break;
case 'a':