aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rc/checkpath.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c
index 1e570de9..f8eb0e81 100644
--- a/src/rc/checkpath.c
+++ b/src/rc/checkpath.c
@@ -73,7 +73,8 @@ const char * const longopts_help[] = {
};
const char *usagestring = NULL;
-static int get_dirfd(char *path, bool symlinks) {
+static int get_dirfd(char *path, bool symlinks)
+{
char *ch;
char *item;
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 ((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);
return -1;
}