style fix
This commit is contained in:
parent
533a8c70b3
commit
8400e7d302
@ -73,7 +73,8 @@ const char * const longopts_help[] = {
|
|||||||
};
|
};
|
||||||
const char *usagestring = NULL;
|
const char *usagestring = NULL;
|
||||||
|
|
||||||
static int get_dirfd(char *path, bool symlinks) {
|
static int get_dirfd(char *path, bool symlinks)
|
||||||
|
{
|
||||||
char *ch;
|
char *ch;
|
||||||
char *item;
|
char *item;
|
||||||
char *linkpath = NULL;
|
char *linkpath = NULL;
|
||||||
@ -249,7 +250,7 @@ static int do_check(char *path, uid_t uid, gid_t gid, mode_t mode,
|
|||||||
|
|
||||||
if (mode && (st.st_mode & 0777) != mode) {
|
if (mode && (st.st_mode & 0777) != mode) {
|
||||||
if ((type != inode_dir) && (st.st_nlink > 1)) {
|
if ((type != inode_dir) && (st.st_nlink > 1)) {
|
||||||
eerror("%s: chmod: %s %s", applet, "Too many hard links to", path);
|
eerror("%s: chmod: Too many hard links to %s", applet, path);
|
||||||
close(readfd);
|
close(readfd);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user