Explorar el Código

Issue #422: Corrected typo for unit GB

rogerniesten hace 7 años
padre
commit
e8982f3f1c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      plugins/check_disk.c

+ 1 - 1
plugins/check_disk.c

@@ -576,7 +576,7 @@ process_arguments (int argc, char **argv)
         mult = (uintmax_t)1000 * 1000;
         units = strdup ("MB");
       } else if (! strcmp (optarg, "GB")) {
-        mult = (uintmax_t)1000 * 1000 * 100;
+        mult = (uintmax_t)1000 * 1000 * 1000;
         units = strdup ("GB");
       } else if (! strcmp (optarg, "TB")) {
         mult = (uintmax_t)1000 * 1000 * 1000 * 1000;