summaryrefslogtreecommitdiff
path: root/udev_selinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_selinux.c')
-rw-r--r--udev_selinux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/udev_selinux.c b/udev_selinux.c
index a305e24136..42568e4195 100644
--- a/udev_selinux.c
+++ b/udev_selinux.c
@@ -90,8 +90,7 @@ void selinux_setfilecon(const char *file, const char *devname, unsigned int mode
char *media;
int ret = -1;
- if(devname)
- {
+ if (devname) {
media = get_media(devname, mode);
if (media) {
ret = matchmediacon(media, &scontext);