summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--procfs/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/procfs/main.c b/procfs/main.c
index f773c09c..509f4883 100644
--- a/procfs/main.c
+++ b/procfs/main.c
@@ -130,6 +130,12 @@ argp_parser (int key, char *arg, struct argp_state *state)
/* Ignored for compatibility with Linux' procfs. */
break;
+ case ARGP_KEY_ARG:
+ if (!strcmp (arg, "none") || !strcmp (arg,"proc"))
+ /* Ignored for compatibility with Linux' procfs. */
+ break;
+ return ARGP_ERR_UNKNOWN;
+
default:
return ARGP_ERR_UNKNOWN;
}