Print this page
4142 truss should expand connect() arguments

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/truss/actions.c
          +++ new/usr/src/cmd/truss/actions.c
↓ open down ↓ 481 lines elided ↑ open up ↑
 482  482                              ((i == 0 && x == STG) ||
 483  483                              (i == 1 && (what == SYS_openat ||
 484  484                              what == SYS_openat64)))) {  /* already fetched */
 485  485                                  if (argprinted)
 486  486                                          outstring(pri, ", ");
 487  487                                  escape_string(pri, pri->sys_path);
 488  488                                  argprinted = TRUE;
 489  489                          } else if (x != NOV && (x != HID || raw)) {
 490  490                                  if (argprinted)
 491  491                                          outstring(pri, ", ");
 492      -                                if (x == LLO)
      492 +                                if (x == LLO || x == SAD)
 493  493                                          (*Print[x])(pri, raw, arg,
 494  494                                              pri->sys_args[++i]);
 495  495                                  else
 496  496                                          (*Print[x])(pri, raw, arg);
 497  497                                  argprinted = TRUE;
 498  498                          }
 499  499                  }
 500  500                  outstring(pri, ")");
 501  501          }
 502  502  
↓ open down ↓ 633 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX