[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [libosinfo] Constant for Kibibytes



On Mon, Sep 26, 2011 at 09:21:38PM +0300, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>
> 
> ---
>  osinfo/osinfo_resources.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/osinfo/osinfo_resources.h b/osinfo/osinfo_resources.h
> index cf2571d..7f8767e 100644
> --- a/osinfo/osinfo_resources.h
> +++ b/osinfo/osinfo_resources.h
> @@ -32,6 +32,7 @@
>  
>  #define OSINFO_ARCHITECTURE_ALL "all"
>  #define OSINFO_MEGAHERTZ        1000000
> +#define OSINFO_KIBIBYTES        1024
>  #define OSINFO_MEBIBYTES        1048576
>  #define OSINFO_GIBIBYTES        1073741824
>  

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]