about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--nptl/tst-cancel7.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f0fee26094..beb5b59d01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2016-12-13  Florian Weimer  <fweimer@redhat.com>
 
+	* nptl/tst-cancel7.c (cmdline_process): Add missing case label.
+
+2016-12-13  Florian Weimer  <fweimer@redhat.com>
+
 	* Rules (binaries-shared-tests, binaries-pie-tests)
 	(binaries-static-tests): Link with $(link-extra-libs-tests).
 	* Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
diff --git a/nptl/tst-cancel7.c b/nptl/tst-cancel7.c
index 8eff3a8dac..e7e40ef0c4 100644
--- a/nptl/tst-cancel7.c
+++ b/nptl/tst-cancel7.c
@@ -194,6 +194,7 @@ cmdline_process (int c)
 {
   switch (c)
     {
+    case OPT_COMMAND:
       command = optarg;
       break;
     case OPT_PIDFILE: