[Bug 267710] net/pload: fix command-line args and fix unit display

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 11 Nov 2022 13:19:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267710

            Bug ID: 267710
           Summary: net/pload: fix command-line args and fix unit display
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fbsd@opal.com

Created attachment 238015
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238015&action=edit
patch to fix command-line args and fix unit display

This patch updates the port to fix the fact that the code calls
XtAppInitialize() which eats the command-line args and so causes ps(1) to not
display them.  The command-line args are now saved before and restored after
the call to XtAppInitialize().

Also, correct the display of the units of total byte counts to show as "B",
"kB", "GB" etc, rather than the imprecise/incorrect "b", "k", "G" etc.

I have updated all the patches using "make makepatch" which has caused
files/patch-ioctl_stats.c to be renamed to files/patch-ioctl__stat.c.

-- 
You are receiving this mail because:
You are the assignee for the bug.