diff options
author | Juan Cespedes <cespedes@debian.org> | 2009-05-28 19:06:35 +0200 |
---|---|---|
committer | Juan Cespedes <cespedes@debian.org> | 2009-05-28 19:06:35 +0200 |
commit | e12df4c65dfbd6d0e4a95ff90261b3b7c07298a2 (patch) | |
tree | dd13eaac5eead991725d3741c3b6a2fe5f7ca610 | |
parent | 6be8028492b29f68126ce413b7ef4b875c7bb017 (diff) | |
download | ltrace-e12df4c65dfbd6d0e4a95ff90261b3b7c07298a2.tar.gz |
Always display "[pid xxx]" output when using -f option
-rw-r--r-- | output.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ begin_of_line(enum tof type, Process *proc) { } if ((options.output != stderr) && (opt_p || options.follow)) { current_column += fprintf(options.output, "%u ", proc->pid); - } else if (list_of_processes->next) { + } else if (options.follow) { current_column += fprintf(options.output, "[pid %u] ", proc->pid); } if (opt_r) { |