diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2011-01-04 19:56:11 +0700 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2011-01-04 19:56:11 +0700 |
commit | 9db69882bee2d528d706d61d34ef7741122330be (patch) | |
tree | f46c4ed5cae58956cd165e552ea4e366fd9b1a6c /runit | |
parent | 3f357a9c754805c4c38793749927aeda82797735 (diff) | |
parent | e4dcba1c103dc28e927e004791e331aaf604383d (diff) | |
download | busybox-w32-9db69882bee2d528d706d61d34ef7741122330be.tar.gz busybox-w32-9db69882bee2d528d706d61d34ef7741122330be.tar.bz2 busybox-w32-9db69882bee2d528d706d61d34ef7741122330be.zip |
Merge commit 'e4dcba1c103dc28e927e004791e331aaf604383d'
Conflicts:
libbb/make_directory.c
Diffstat (limited to 'runit')
-rw-r--r-- | runit/chpst.c | 6 | ||||
-rw-r--r-- | runit/svlogd.c | 3 |
2 files changed, 5 insertions, 4 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); |
diff --git a/runit/svlogd.c b/runit/svlogd.c index 052806c25..c3ff4e9c1 100644 --- a/runit/svlogd.c +++ b/runit/svlogd.c | |||
@@ -1114,7 +1114,8 @@ int svlogd_main(int argc, char **argv) | |||
1114 | /* Search for '\n' (in fact, np already holds the result) */ | 1114 | /* Search for '\n' (in fact, np already holds the result) */ |
1115 | linelen = stdin_cnt; | 1115 | linelen = stdin_cnt; |
1116 | if (np) { | 1116 | if (np) { |
1117 | print_to_nl: /* NB: starting from here lineptr may point | 1117 | print_to_nl: |
1118 | /* NB: starting from here lineptr may point | ||
1118 | * farther out into line[] */ | 1119 | * farther out into line[] */ |
1119 | linelen = np - lineptr + 1; | 1120 | linelen = np - lineptr + 1; |
1120 | } | 1121 | } |