diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/copy_file.c | 4 | ||||
-rw-r--r-- | libbb/selinux_common.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libbb/copy_file.c b/libbb/copy_file.c index 58d657b..7d85920 100644 --- a/libbb/copy_file.c +++ b/libbb/copy_file.c @@ -250,11 +250,11 @@ int copy_file(const char *source, const char *dest, int flags) || (flags & FILEUTILS_SET_SECURITY_CONTEXT)) && is_selinux_enabled() > 0 ) { - security_context_t con; + security_context_t con; if (getfscreatecon(&con) == -1) { bb_perror_msg("getfscreatecon"); return -1; - } + } if (con) { if(setfilecon(dest, con) == -1) { bb_perror_msg("setfilecon:%s,%s", dest, con); diff --git a/libbb/selinux_common.c b/libbb/selinux_common.c index d506f06..4cb85f0 100644 --- a/libbb/selinux_common.c +++ b/libbb/selinux_common.c @@ -1,7 +1,7 @@ /* * libbb/selinux_common.c * -- common SELinux utility functions - * + * * Copyright 2007 KaiGai Kohei <kaigai@kaigai.gr.jp> */ #include "busybox.h" |