RE: [PATCH 10/12] Clean up unit prefixes for binary multiples in comments and prints

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

 



> -----Original Message-----
> From: Elliott, Robert (Persistent Memory)
> Sent: Thursday, December 22, 2016 12:09 AM
> Subject: [PATCH 10/12] Clean up unit prefixes for binary multiples in
> comments and prints
> 
> diff --git a/goptions.c b/goptions.c
> index b3d3684..be49248 100644
> --- a/goptions.c
> +++ b/goptions.c
> @@ -826,7 +826,7 @@ static struct gopt *gopt_new_str_val(struct
> gopt_job_view *gjv,
>  				     unsigned long long *p, unsigned int
> idx)
>  {
>  	struct gopt_str_val *g;
> -	const gchar *postfix[] = { "B", "KB", "MB", "GB", "PB", "TB",
> "" };
> +	const gchar *postfix[] = { "B", "KiB", "MiB", "GiB", "PiB",
> "TiB", "" };

That has PB and TB backwards, and should fix it to:
+	const gchar *postfix[] = { "B", "KiB", "MiB", "GiB", "TiB", "PiB", "" };


---
Robert Elliott, HPE Persistent Memory


--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux