style fix

This commit is contained in:
William Hubbs 2021-04-13 16:29:21 -05:00
parent 533a8c70b3
commit 8400e7d302

View File

@ -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;
} }