aboutsummaryrefslogtreecommitdiff
path: root/shell
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 /shell
parent31acd1ba0a091577983ec02b336fe6388e80a942 (diff)
downloadbusybox-w32-0de37e10ed73cb18def0edf751e4b333d20568c9.tar.gz
busybox-w32-0de37e10ed73cb18def0edf751e4b333d20568c9.tar.bz2
busybox-w32-0de37e10ed73cb18def0edf751e4b333d20568c9.zip
ash: use fdprintf, not dprintf.
*: trailing whitespace removed
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
1 files changed, 2 insertions, 2 deletions
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--;