ash: use fdprintf, not dprintf.
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Wed, 17 Oct 2007 11:08:53 +0000 (11:08 +0000)
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Wed, 17 Oct 2007 11:08:53 +0000 (11:08 +0000)
*: trailing whitespace removed

git-svn-id: svn://busybox.net/trunk/busybox@20272 69ca8d6d-28ef-0310-b511-8ec308f3f277

archival/bz/compress.c
networking/telnetd.c
shell/ash.c

index 724474e..b72edbb 100644 (file)
@@ -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 ---*/
index f1927e0..7b799dc 100644 (file)
@@ -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. */
index 2b9a8cc..52cf41a 100644 (file)
@@ -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--;