summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-04-07 12:53:03 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-04-07 13:32:42 +0200
commit785f4aea18b5705e63609001d2aa12871a774804 (patch)
tree66ee8e468a0e36a1f74ff59361f116ec2d8f18e7
parentd293e13f756d44cad5a36c15e6f54ae0b6b71c81 (diff)
procfs: fix argument parsing
* procfs/main.c (argp_parser): Fix argument parsing.
-rw-r--r--procfs/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/procfs/main.c b/procfs/main.c
index d07dea80..d775b325 100644
--- a/procfs/main.c
+++ b/procfs/main.c
@@ -120,15 +120,15 @@ argp_parser (int key, char *arg, struct argp_state *state)
case NODEV_KEY:
/* Ignored for compatibility with Linux' procfs. */
- ;;
+ break;
case NOEXEC_KEY:
/* Ignored for compatibility with Linux' procfs. */
- ;;
+ break;
case NOSUID_KEY:
/* Ignored for compatibility with Linux' procfs. */
- ;;
+ break;
default:
return ARGP_ERR_UNKNOWN;