Bug 600977

Summary: virt-df -h --csv "Argument .. isn't numeric in printf"
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: mbooth, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-08 17:01:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Richard W.M. Jones 2010-06-06 21:48:59 UTC
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.