aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-10-17 11:08:53 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-10-17 11:08:53 +0000
commit0de37e10ed73cb18def0edf751e4b333d20568c9 (patch)
tree8ab08b0e069b85f5f01ad8035a7538f16a72e63f
parent31acd1ba0a091577983ec02b336fe6388e80a942 (diff)
downloadbusybox-0de37e10ed73cb18def0edf751e4b333d20568c9.tar.gz
ash: use fdprintf, not dprintf.
*: trailing whitespace removed
-rw-r--r--archival/bz/compress.c2
-rw-r--r--networking/telnetd.c2
-rw-r--r--shell/ash.c4
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)
/*
* Increment the symbol frequencies for the selected table.
*/
-/* 1% faster compress. +800 bytes */
+/* 1% faster compress. +800 bytes */
#if CONFIG_BZIP2_FEATURE_SPEED >= 4
if (nGroups == 6 && 50 == ge-gs+1) {
/*--- 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)
}
}
- num_totty = totty - ptr0;
+ num_totty = totty - ptr0;
*pnum_totty = num_totty;
/* the difference between ptr and totty is number of iacs
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)
const char *p = " %s";
p++;
- dprintf(preverrout_fd, p, expandstr(ps4val()));
+ fdprintf(preverrout_fd, p, expandstr(ps4val()));
sp = varlist.list;
for (n = 0; n < 2; n++) {
while (sp) {
- dprintf(preverrout_fd, p, sp->text);
+ fdprintf(preverrout_fd, p, sp->text);
sp = sp->next;
if (*p == '%') {
p--;