projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7bc9ac
)
trivial fix in setfiles. spotted by Yuichi Nakamura <ynakam@hitachisoft.jp>
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 28 Sep 2007 11:37:38 +0000
(11:37 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 28 Sep 2007 11:37:38 +0000
(11:37 -0000)
selinux/setfiles.c
patch
|
blob
|
history
diff --git
a/selinux/setfiles.c
b/selinux/setfiles.c
index befb68ff6b5c62786e9ff8c6d8523e645d4c323b..0f7996fa615c4503c79349c616970bdc28fafbe1 100644
(file)
--- a/
selinux/setfiles.c
+++ b/
selinux/setfiles.c
@@
-189,7
+189,7
@@
static int match(const char *name, struct stat *sb, char **con)
file_sep = strrchr(tmp_path, '/');
if (file_sep == tmp_path) {
file_sep++;
- p[0] = '\0';
+ p
ath
[0] = '\0';
p = path;
} else if (file_sep) {
*file_sep++ = '\0';