diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-17 11:08:53 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-17 11:08:53 +0000 |
commit | 0de37e10ed73cb18def0edf751e4b333d20568c9 (patch) | |
tree | 8ab08b0e069b85f5f01ad8035a7538f16a72e63f | |
parent | 31acd1ba0a091577983ec02b336fe6388e80a942 (diff) | |
download | busybox-w32-0de37e10ed73cb18def0edf751e4b333d20568c9.tar.gz busybox-w32-0de37e10ed73cb18def0edf751e4b333d20568c9.tar.bz2 busybox-w32-0de37e10ed73cb18def0edf751e4b333d20568c9.zip |
ash: use fdprintf, not dprintf.
*: trailing whitespace removed
-rw-r--r-- | archival/bz/compress.c | 2 | ||||
-rw-r--r-- | networking/telnetd.c | 2 | ||||
-rw-r--r-- | shell/ash.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/archival/bz/compress.c b/archival/bz/compress.c index 724474e2d..b72edbbd4 100644 --- a/archival/bz/compress.c +++ b/archival/bz/compress.c | |||
@@ -418,7 +418,7 @@ void sendMTFValues(EState* s) | |||
418 | /* | 418 | /* |
419 | * Increment the symbol frequencies for the selected table. | 419 | * Increment the symbol frequencies for the selected table. |
420 | */ | 420 | */ |
421 | /* 1% faster compress. +800 bytes */ | 421 | /* 1% faster compress. +800 bytes */ |
422 | #if CONFIG_BZIP2_FEATURE_SPEED >= 4 | 422 | #if CONFIG_BZIP2_FEATURE_SPEED >= 4 |
423 | if (nGroups == 6 && 50 == ge-gs+1) { | 423 | if (nGroups == 6 && 50 == ge-gs+1) { |
424 | /*--- fast track the common case ---*/ | 424 | /*--- fast track the common case ---*/ |
diff --git a/networking/telnetd.c b/networking/telnetd.c index f1927e069..7b799dcf8 100644 --- a/networking/telnetd.c +++ b/networking/telnetd.c | |||
@@ -141,7 +141,7 @@ remove_iacs(struct tsession *ts, int *pnum_totty) | |||
141 | } | 141 | } |
142 | } | 142 | } |
143 | 143 | ||
144 | num_totty = totty - ptr0; | 144 | num_totty = totty - ptr0; |
145 | *pnum_totty = num_totty; | 145 | *pnum_totty = num_totty; |
146 | /* the difference between ptr and totty is number of iacs | 146 | /* the difference between ptr and totty is number of iacs |
147 | we removed from the stream. Adjust buf1 accordingly. */ | 147 | we removed from the stream. Adjust buf1 accordingly. */ |
diff --git a/shell/ash.c b/shell/ash.c index 2b9a8ccb6..52cf41ab5 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -8237,12 +8237,12 @@ evalcommand(union node *cmd, int flags) | |||
8237 | const char *p = " %s"; | 8237 | const char *p = " %s"; |
8238 | 8238 | ||
8239 | p++; | 8239 | p++; |
8240 | dprintf(preverrout_fd, p, expandstr(ps4val())); | 8240 | fdprintf(preverrout_fd, p, expandstr(ps4val())); |
8241 | 8241 | ||
8242 | sp = varlist.list; | 8242 | sp = varlist.list; |
8243 | for (n = 0; n < 2; n++) { | 8243 | for (n = 0; n < 2; n++) { |
8244 | while (sp) { | 8244 | while (sp) { |
8245 | dprintf(preverrout_fd, p, sp->text); | 8245 | fdprintf(preverrout_fd, p, sp->text); |
8246 | sp = sp->next; | 8246 | sp = sp->next; |
8247 | if (*p == '%') { | 8247 | if (*p == '%') { |
8248 | p--; | 8248 | p--; |