aboutsummaryrefslogtreecommitdiff
path: root/runit/chpst.c
diff options
context:
space:
mode:
Diffstat (limited to 'runit/chpst.c')
-rw-r--r--runit/chpst.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/runit/chpst.c b/runit/chpst.c
index b08d42300..dc8a26aeb 100644
--- a/runit/chpst.c
+++ b/runit/chpst.c
@@ -122,10 +122,10 @@ static NOINLINE void edir(const char *directory_name)
122 if ((errno == EISDIR) && directory_name) { 122 if ((errno == EISDIR) && directory_name) {
123 if (option_mask32 & OPT_v) 123 if (option_mask32 & OPT_v)
124 bb_perror_msg("warning: %s/%s is a directory", 124 bb_perror_msg("warning: %s/%s is a directory",
125 directory_name, d->d_name); 125 directory_name, d->d_name);
126 continue; 126 continue;
127 } else 127 }
128 bb_perror_msg_and_die("open %s/%s", 128 bb_perror_msg_and_die("open %s/%s",
129 directory_name, d->d_name); 129 directory_name, d->d_name);
130 } 130 }
131 size = full_read(fd, buf, sizeof(buf)-1); 131 size = full_read(fd, buf, sizeof(buf)-1);