]> andersk Git - openssh.git/blobdiff - openbsd-compat/port-linux.c
- (dtucker) [openbsd-compat/regress/closefromtest.c] Bug #1358: Always
[openssh.git] / openbsd-compat / port-linux.c
index 5dedbdc640658ebe24580e8a72db97d3d307093d..45615eab236010e5c4e8a4c15e2e012dad57a863 100644 (file)
@@ -24,6 +24,7 @@
 #include "includes.h"
 
 #include <errno.h>
+#include <stdarg.h>
 #include <string.h>
 
 #ifdef WITH_SELINUX
@@ -78,6 +79,7 @@ ssh_selinux_getctxbyname(char *pwname)
                case 0:
                        error("%s: Failed to get default SELinux security "
                            "context for %s", __func__, pwname);
+                       break;
                default:
                        fatal("%s: Failed to get default SELinux security "
                            "context for %s (in enforcing mode)",
@@ -114,6 +116,7 @@ ssh_selinux_setup_exec_context(char *pwname)
                case 0:
                        error("%s: Failed to set SELinux execution "
                            "context for %s", __func__, pwname);
+                       break;
                default:
                        fatal("%s: Failed to set SELinux execution context "
                            "for %s (in enforcing mode)", __func__, pwname);
This page took 0.186766 seconds and 4 git commands to generate.