- (dtucker) [openbsd-compat/port-linux.c] Bug #1851: fix syntax error in

selinux code.  Patch from Leonardo Chiquitto.
This commit is contained in:
Darren Tucker 2011-02-06 13:24:35 +11:00
parent 0d30b092ce
commit 3b9617ecbd
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
20110206
- (dtucker) [openbsd-compat/port-linux.c] Bug #1851: fix syntax error in
selinux code. Patch from Leonardo Chiquitto
20110204 20110204
- OpenBSD CVS Sync - OpenBSD CVS Sync
- djm@cvs.openbsd.org 2011/01/31 21:42:15 - djm@cvs.openbsd.org 2011/01/31 21:42:15

View File

@ -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> * Copyright (c) 2005 Daniel Walsh <dwalsh@redhat.com>
@ -213,7 +213,7 @@ ssh_selinux_setfscreatecon(const char *path)
if (!ssh_selinux_enabled()) if (!ssh_selinux_enabled())
return; return;
if (path == NULL) if (path == NULL) {
setfscreatecon(NULL); setfscreatecon(NULL);
return; return;
} }