Jan F. Chadima 54f33f
diff -up openssh-5.8p2/openbsd-compat/port-linux.c.sesftplog openssh-5.8p2/openbsd-compat/port-linux.c
Jan F. Chadima 54f33f
--- openssh-5.8p2/openbsd-compat/port-linux.c.sesftplog	2011-08-08 12:47:21.000000000 +0200
Jan F. Chadima 54f33f
+++ openssh-5.8p2/openbsd-compat/port-linux.c	2011-08-08 12:54:10.234607372 +0200
Jan F. Chadima 54f33f
@@ -506,7 +506,7 @@ ssh_selinux_change_context(const char *n
Jan F. Chadima 54f33f
 	debug3("%s: setting context from '%s' to '%s'", __func__, oldctx,
Jan F. Chadima 54f33f
 	    newctx);
Jan F. Chadima 54f33f
 	if (setcon(newctx) < 0)
Jan F. Chadima 54f33f
-		logit("%s: setcon failed with %s", __func__, strerror (errno));
Jan F. Chadima 54f33f
+		logit("%s: setcon %s from %s failed with %s", __func__, newctx, oldctx, strerror (errno));
Jan F. Chadima 54f33f
 	xfree(oldctx);
Jan F. Chadima 54f33f
 	xfree(newctx);
Jan F. Chadima 54f33f
 }