diff options
author | Miles Bader <miles@gnu.org> | 1996-06-03 20:44:37 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-06-03 20:44:37 +0000 |
commit | f8929254ff7a8fc262876fcf009420f4e6d8f810 (patch) | |
tree | 9a0843cdf63f0f9511e5c60949f19817ddf21fa1 /libps | |
parent | 33af69ac893f5224621d2a548f66dc8eef3e1835 (diff) |
(ps_emit_wait): Never truncate what we write.
Diffstat (limited to 'libps')
-rw-r--r-- | libps/spec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libps/spec.c b/libps/spec.c index a7b97953..62b6dfc2 100644 --- a/libps/spec.c +++ b/libps/spec.c @@ -713,7 +713,7 @@ ps_emit_wait (struct proc_stat *ps, struct ps_fmt_field *field, sprintf (buf, "syscall:%d", -rpc); name = buf; } - return ps_stream_write_trunc_field (stream, name, field->width); + return ps_stream_write_field (stream, name, field->width); } else if (rpc) /* An rpc (with msg id RPC); WAIT describes the dest port. */ @@ -751,7 +751,7 @@ ps_emit_wait (struct proc_stat *ps, struct ps_fmt_field *field, else snprintf (buf, sizeof buf, "%s:%d", wait, rpc); - return ps_stream_write_trunc_field (stream, buf, field->width); + return ps_stream_write_field (stream, buf, field->width); } else return ps_stream_write_field (stream, wait, field->width); |