summaryrefslogtreecommitdiff
path: root/udev_selinux.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-02-14 22:29:03 +0100
committerKay Sievers <kay.sievers@vrfy.org>2007-02-14 22:29:03 +0100
commite5f76f66138d8ef50d04034dcd4d3272eb00b740 (patch)
treebf13b04371dd5e0a1e9a13d3644822d26458631f /udev_selinux.c
parent5ab2e3c2c3efe9b25861ddf560b3760b9384090d (diff)
create_floppy_devices: add option for owner/group
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);