[Bug 200260] sysutils/zfs-stats-lite: printf formatting error

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 17 01:40:47 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200260

            Bug ID: 200260
           Summary: sysutils/zfs-stats-lite: printf formatting error
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: dteske at FreeBSD.org
          Reporter: jrm at ftfl.ca
          Assignee: dteske at FreeBSD.org
             Flags: maintainer-feedback?(dteske at FreeBSD.org)

Created attachment 156846
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156846&action=edit
Escape a '%'  character in a printf statement.

I believe there is a typo on lines 745-726 of the script.

Should

printf "\t  Sent Total:\t\t\t%0.2f%\t%d\n" 100 \
       $l2_writes_sent

be

printf "\t  Sent Total:\t\t\t%0.2f%%\t%d\n" 100 \
       $l2_writes_sent

?

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


More information about the freebsd-ports-bugs mailing list