Merge branch 'master' of https://github.com/celestinechen/fio
[fio.git] / goptions.c
index b3d3684697707f962ff311c2a578be87ae078f05..0b8c56a261f1e1cd39a0d11bec979a0ec0ad43b2 100644 (file)
@@ -1,5 +1,5 @@
 #include <locale.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <string.h>
 
 #include <glib.h>
@@ -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", "TiB", "PiB", "EiB" };
        GtkWidget *label;
        int i;