From f8929254ff7a8fc262876fcf009420f4e6d8f810 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 3 Jun 1996 20:44:37 +0000 Subject: (ps_emit_wait): Never truncate what we write. --- libps/spec.c | 4 ++-- 1 file 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); -- cgit v1.2.3