chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9571122
)
selinux: fix typo in block device node selection
author
Kay Sievers
<kay.sievers@suse.de>
Sun, 7 May 2006 20:31:06 +0000
(22:31 +0200)
committer
Kay Sievers
<kay.sievers@suse.de>
Sun, 7 May 2006 20:31:06 +0000
(22:31 +0200)
udev_selinux.c
patch
|
blob
|
history
diff --git
a/udev_selinux.c
b/udev_selinux.c
index 94c213d297aca46c0d3927709db2789119bb57fc..446fedc3c35aa67c47e724cb820f357d69d61196 100644
(file)
--- a/
udev_selinux.c
+++ b/
udev_selinux.c
@@
-54,7
+54,7
@@
static char *get_media(const char *devname, int mode)
int size;
char *media = NULL;
int size;
char *media = NULL;
- if (!(mode &
&
S_IFBLK))
+ if (!(mode & S_IFBLK))
return NULL;
snprintf(procfile, PATH_MAX, "/proc/ide/%s/media", devname);
return NULL;
snprintf(procfile, PATH_MAX, "/proc/ide/%s/media", devname);