Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2015 01:40:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 200260] sysutils/zfs-stats-lite: printf formatting error
Message-ID:  <bug-200260-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: jrm@ftfl.ca
          Assignee: dteske@FreeBSD.org
             Flags: maintainer-feedback?(dteske@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200260-13>