summaryrefslogtreecommitdiff
path: root/debian/patches/0001-procfs-fix-argument-parsing.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0001-procfs-fix-argument-parsing.patch')
-rw-r--r--debian/patches/0001-procfs-fix-argument-parsing.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/debian/patches/0001-procfs-fix-argument-parsing.patch b/debian/patches/0001-procfs-fix-argument-parsing.patch
new file mode 100644
index 00000000..668a852c
--- /dev/null
+++ b/debian/patches/0001-procfs-fix-argument-parsing.patch
@@ -0,0 +1,36 @@
+From 785f4aea18b5705e63609001d2aa12871a774804 Mon Sep 17 00:00:00 2001
+From: Justus Winter <4winter@informatik.uni-hamburg.de>
+Date: Tue, 7 Apr 2015 12:53:03 +0200
+Subject: [PATCH hurd 1/2] procfs: fix argument parsing
+
+* procfs/main.c (argp_parser): Fix argument parsing.
+---
+ procfs/main.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/procfs/main.c b/procfs/main.c
+index d07dea8..d775b32 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;
+--
+2.1.4
+