diff options
Diffstat (limited to 'openbsd-compat/port-linux.c')
-rw-r--r-- | openbsd-compat/port-linux.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsd-compat/port-linux.c b/openbsd-compat/port-linux.c index ef91e4446..2b8a14a59 100644 --- a/openbsd-compat/port-linux.c +++ b/openbsd-compat/port-linux.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: port-linux.c,v 1.16 2011/08/29 06:09:57 djm Exp $ */ | 1 | /* $Id: port-linux.c,v 1.17 2012/03/08 23:25:18 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2005 Daniel Walsh <dwalsh@redhat.com> | 4 | * Copyright (c) 2005 Daniel Walsh <dwalsh@redhat.com> |
@@ -99,6 +99,7 @@ ssh_selinux_getctxbyname(char *pwname, const char *role) | |||
99 | case 0: | 99 | case 0: |
100 | error("%s: Failed to get default SELinux security " | 100 | error("%s: Failed to get default SELinux security " |
101 | "context for %s", __func__, pwname); | 101 | "context for %s", __func__, pwname); |
102 | sc = NULL; | ||
102 | break; | 103 | break; |
103 | default: | 104 | default: |
104 | fatal("%s: Failed to get default SELinux security " | 105 | fatal("%s: Failed to get default SELinux security " |
@@ -114,7 +115,7 @@ ssh_selinux_getctxbyname(char *pwname, const char *role) | |||
114 | xfree(lvl); | 115 | xfree(lvl); |
115 | #endif | 116 | #endif |
116 | 117 | ||
117 | return (sc); | 118 | return sc; |
118 | } | 119 | } |
119 | 120 | ||
120 | /* Set the execution context to the default for the specified user */ | 121 | /* Set the execution context to the default for the specified user */ |