summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-linux.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2011-02-06 13:24:35 +1100
committerDarren Tucker <dtucker@zip.com.au>2011-02-06 13:24:35 +1100
commit3b9617ecbd6bdb205e202a3345e84740851b021c (patch)
treeaad73a6241dc73dab785422750fa3e22ef96a6b1 /openbsd-compat/port-linux.c
parent0d30b092ce0dee75cc4f5848720cbb2752694f8e (diff)
downloadopenssh-git-3b9617ecbd6bdb205e202a3345e84740851b021c.tar.gz
- (dtucker) [openbsd-compat/port-linux.c] Bug #1851: fix syntax error in
selinux code. Patch from Leonardo Chiquitto.
Diffstat (limited to 'openbsd-compat/port-linux.c')
-rw-r--r--openbsd-compat/port-linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/port-linux.c b/openbsd-compat/port-linux.c
index eb280e61..ac1e4fef 100644
--- a/openbsd-compat/port-linux.c
+++ b/openbsd-compat/port-linux.c
@@ -1,4 +1,4 @@
-/* $Id: port-linux.c,v 1.13 2011/01/27 23:30:20 djm Exp $ */
+/* $Id: port-linux.c,v 1.14 2011/02/06 02:24:35 dtucker Exp $ */
/*
* Copyright (c) 2005 Daniel Walsh <dwalsh@redhat.com>
@@ -213,7 +213,7 @@ ssh_selinux_setfscreatecon(const char *path)
if (!ssh_selinux_enabled())
return;
- if (path == NULL)
+ if (path == NULL) {
setfscreatecon(NULL);
return;
}