selinux: fix sel_write_enforce broken return value

commit 6436a123a1 upstream.

Return a negative error value like the rest of the entries in this function.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by:  Stephen Smalley <sds@tycho.nsa.gov>
[PM: tweaked subject line]
Signed-off-by: Paul Moore <pmoore@redhat.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Joe Perches 2015-03-23 18:01:35 -07:00 • committed by Luis Henriques
commit d4af55bd8e