aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2021-04-13 16:29:21 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2021-04-13 16:29:21 -0500
commit8400e7d3025a2957960e3f4ee3cb37a376235886 (patch)
tree4373fe97830bc0d42fae29903287b31f5bcb2c30 /src/rc
parent533a8c70b3b757d2ca06de7392805ab5d1698a53 (diff)
style fix
Diffstat (limited to 'src/rc')
-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;
}