ash: use fdprintf, not dprintf.
*: trailing whitespace removed
This commit is contained in:
parent
31acd1ba0a
commit
0de37e10ed
@ -8237,12 +8237,12 @@ evalcommand(union node *cmd, int flags)
|
|||||||
const char *p = " %s";
|
const char *p = " %s";
|
||||||
|
|
||||||
p++;
|
p++;
|
||||||
dprintf(preverrout_fd, p, expandstr(ps4val()));
|
fdprintf(preverrout_fd, p, expandstr(ps4val()));
|
||||||
|
|
||||||
sp = varlist.list;
|
sp = varlist.list;
|
||||||
for (n = 0; n < 2; n++) {
|
for (n = 0; n < 2; n++) {
|
||||||
while (sp) {
|
while (sp) {
|
||||||
dprintf(preverrout_fd, p, sp->text);
|
fdprintf(preverrout_fd, p, sp->text);
|
||||||
sp = sp->next;
|
sp = sp->next;
|
||||||
if (*p == '%') {
|
if (*p == '%') {
|
||||||
p--;
|
p--;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user