Bug 600977 - virt-df -h --csv "Argument .. isn't numeric in printf"
Summary: virt-df -h --csv "Argument .. isn't numeric in printf"
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
(Show other bugs)
Version: unspecified
Hardware: All Linux
low
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-06 21:48 UTC by Richard W.M. Jones
Modified: 2010-06-08 17:01 UTC (History)
2 users (show)

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: ---


Attachments (Terms of Use)

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.


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