Bug 600977 - virt-df -h --csv "Argument .. isn't numeric in printf"
virt-df -h --csv "Argument .. isn't numeric in printf"
Status: CLOSED UPSTREAM
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
unspecified
All Linux
low Severity medium
: ---
: ---
Assigned To: Richard W.M. Jones
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-06 17:48 EDT by Richard W.M. Jones
Modified: 2010-06-08 13:01 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-06-08 13:01:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2010-06-06 17:48:59 EDT
Description of problem:

If you use the -h and --csv option together, then virt-df throws
lots of perl warnings, making me wish this program was still
written in OCaml.

$ sudo virt-df -h --csv
Virtual Machine,Filesystem,Size,Used,Available,Use%
Argument "1.9G" isn't numeric in printf at /usr/bin/virt-df line 298.
Argument "35.0M" isn't numeric in printf at /usr/bin/virt-df line 298.
Argument "1.8G" isn't numeric in printf at /usr/bin/virt-df line 298.
[etc]

Version-Release number of selected component (if applicable):

$ virt-df --version
1.3.19

How reproducible:

Always.

Note You need to log in before you can comment on or make changes to this bug.