From 0de37e10ed73cb18def0edf751e4b333d20568c9 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 17 Oct 2007 11:08:53 +0000 Subject: [PATCH] ash: use fdprintf, not dprintf. *: trailing whitespace removed --- archival/bz/compress.c | 2 +- networking/telnetd.c | 2 +- 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) /* * 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--; -- 2.25.1